Require origin argument
If it doesn't satisfy windowp, it'll cause errors.
This commit is contained in:
parent
79faa02d6b
commit
bcdb9f583a
1 changed files with 1 additions and 1 deletions
|
@ -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)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue