mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
nit(popup): mention post-command-select-window for 30.x+
Ref: emacs-mirror/emacs@6f75d0f36d
This commit is contained in:
@ -139,6 +139,8 @@ the buffer is visible, then set another timer and try again later."
|
|||||||
(defun +popup--maybe-select-window (window origin)
|
(defun +popup--maybe-select-window (window origin)
|
||||||
"Select a window based on `+popup--inhibit-select' and this window's `select' parameter."
|
"Select a window based on `+popup--inhibit-select' and this window's `select' parameter."
|
||||||
(unless +popup--inhibit-select
|
(unless +popup--inhibit-select
|
||||||
|
;; REVIEW: Once our minimum version is bumped up to Emacs 30.x, replace this
|
||||||
|
;; with `post-command-select-window' window parameter.
|
||||||
(let ((select (+popup-parameter 'select window)))
|
(let ((select (+popup-parameter 'select window)))
|
||||||
(if (functionp select)
|
(if (functionp select)
|
||||||
(funcall select window origin)
|
(funcall select window origin)
|
||||||
|
Reference in New Issue
Block a user