nit(popup): mention post-command-select-window for 30.x+
Ref: emacs-mirror/emacs@6f75d0f36d
This commit is contained in:
parent
f748b9778a
commit
3074e4648d
1 changed files with 2 additions and 0 deletions
|
@ -139,6 +139,8 @@ the buffer is visible, then set another timer and try again later."
|
|||
(defun +popup--maybe-select-window (window origin)
|
||||
"Select a window based on `+popup--inhibit-select' and this window's `select' parameter."
|
||||
(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)))
|
||||
(if (functionp select)
|
||||
(funcall select window origin)
|
||||
|
|
Loading…
Reference in a new issue