Revise docstrings & minor reformatting

This commit is contained in:
Henrik Lissner 2019-12-25 21:04:52 -05:00
parent ac21c09419
commit adc8cba14b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
6 changed files with 29 additions and 20 deletions

View file

@ -394,8 +394,8 @@ This window parameter is ignored if FORCE-P is non-nil."
;;;###autoload
(defun +popup/toggle ()
"If popups are open, close them. If they aren't, restore the last one or open
the message buffer in a popup window."
"Toggle any visible popups.
If no popups are available, display the *Messages* buffer in a popup window."
(interactive)
(let ((+popup--inhibit-transient t))
(cond ((+popup-windows) (+popup/close-all t))