Fix wrong-type-argument: bufferp error on ESC
This commit is contained in:
parent
e906b20400
commit
65696cebf6
1 changed files with 3 additions and 1 deletions
|
@ -146,7 +146,9 @@ only close popups that have an :autoclose property in their rule (see
|
|||
(defun doom-popup-prop (prop &optional window)
|
||||
"Returns a `doom-popup-rules' PROPerty from WINDOW."
|
||||
(or (plist-get (or (if window
|
||||
(buffer-local-value 'doom-popup-rules (window-buffer window))
|
||||
(ignore-errors
|
||||
(buffer-local-value 'doom-popup-rules
|
||||
(window-buffer window)))
|
||||
doom-popup-rules)
|
||||
(window-parameter window 'popup))
|
||||
prop)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue