mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Require origin argument
If it doesn't satisfy windowp, it'll cause errors.
This commit is contained in:
@ -132,7 +132,7 @@ the buffer is visible, then set another timer and try again later."
|
|||||||
(let ((ignore-window-parameters t))
|
(let ((ignore-window-parameters t))
|
||||||
(split-window window size side)))
|
(split-window window size side)))
|
||||||
|
|
||||||
(defun +popup--maybe-select-window (window &optional 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
|
||||||
(let ((select (+popup-parameter 'select window)))
|
(let ((select (+popup-parameter 'select window)))
|
||||||
|
Reference in New Issue
Block a user