Minor refactor of popup rules logistics
This commit is contained in:
parent
ee1e9a853c
commit
86ff43c6cb
2 changed files with 6 additions and 7 deletions
|
@ -170,8 +170,8 @@ without leaving any trace behind (muahaha)."
|
|||
`doom-popup-rules' always takes priority, but this will fall back to the popup
|
||||
window parameter."
|
||||
(cond ((windowp window-or-buffer)
|
||||
(or (doom-popup-properties (window-buffer window-or-buffer))
|
||||
(window-parameter window-or-buffer 'popup)))
|
||||
(or (window-parameter window-or-buffer 'popup)
|
||||
(doom-popup-properties (window-buffer window-or-buffer))))
|
||||
((bufferp window-or-buffer)
|
||||
(buffer-local-value 'doom-popup-rules window-or-buffer))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue