feature/popup: revise docstring for minor modes

This commit is contained in:
Henrik Lissner 2018-05-08 17:36:10 +02:00
parent 7d7c978877
commit 1be5df7e63
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -227,7 +227,7 @@ If certain attributes/parameters are omitted, the ones from
;;;###autoload
(define-minor-mode +popup-mode
"Global minor mode for popups."
"Global minor mode representing Doom's popup management system."
:init-value nil
:global t
:keymap +popup-mode-map
@ -254,7 +254,10 @@ If certain attributes/parameters are omitted, the ones from
;;;###autoload
(define-minor-mode +popup-buffer-mode
"Minor mode for popup windows."
"Minor mode for individual popup windows.
It is enabled when a buffer is displayed in a popup window and disabled when
that window has been changed or closed."
:init-value nil
:keymap +popup-buffer-mode-map
(when (and +popup-buffer-mode (timerp +popup--timer))