feature/popup: revise docstring for minor modes
This commit is contained in:
parent
7d7c978877
commit
1be5df7e63
1 changed files with 5 additions and 2 deletions
|
@ -227,7 +227,7 @@ If certain attributes/parameters are omitted, the ones from
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(define-minor-mode +popup-mode
|
(define-minor-mode +popup-mode
|
||||||
"Global minor mode for popups."
|
"Global minor mode representing Doom's popup management system."
|
||||||
:init-value nil
|
:init-value nil
|
||||||
:global t
|
:global t
|
||||||
:keymap +popup-mode-map
|
:keymap +popup-mode-map
|
||||||
|
@ -254,7 +254,10 @@ If certain attributes/parameters are omitted, the ones from
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(define-minor-mode +popup-buffer-mode
|
(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
|
:init-value nil
|
||||||
:keymap +popup-buffer-mode-map
|
:keymap +popup-buffer-mode-map
|
||||||
(when (and +popup-buffer-mode (timerp +popup--timer))
|
(when (and +popup-buffer-mode (timerp +popup--timer))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue