mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
feature/popup: fix docstrings for +popup-*-p functions
This commit is contained in:
@ -119,7 +119,7 @@ and enables `+popup-buffer-mode'."
|
||||
|
||||
;;;###autoload
|
||||
(defun +popup-buffer-p (&optional buffer)
|
||||
"Return t if BUFFER is a popup buffer. Defaults to the current buffer."
|
||||
"Return non-nil if BUFFER is a popup buffer. Defaults to the current buffer."
|
||||
(unless buffer
|
||||
(setq buffer (current-buffer)))
|
||||
(cl-assert (bufferp buffer) t)
|
||||
@ -129,7 +129,7 @@ and enables `+popup-buffer-mode'."
|
||||
|
||||
;;;###autoload
|
||||
(defun +popup-window-p (&optional window)
|
||||
"Return t if WINDOW is a popup window. Defaults to the current window."
|
||||
"Return non-nil if WINDOW is a popup window. Defaults to the current window."
|
||||
(unless window
|
||||
(setq window (selected-window)))
|
||||
(cl-assert (windowp window) t)
|
||||
|
Reference in New Issue
Block a user