mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
doom-popup-p: don't require window for buffer target
This commit is contained in:
@ -6,8 +6,7 @@
|
||||
current window if omitted."
|
||||
(when-let (target (or target (selected-window)))
|
||||
(cond ((bufferp target)
|
||||
(and (buffer-local-value 'doom-popup-mode target)
|
||||
(get-buffer-window target)))
|
||||
(buffer-local-value 'doom-popup-mode target))
|
||||
((windowp target)
|
||||
(and (window-parameter target 'popup)
|
||||
target)))))
|
||||
|
Reference in New Issue
Block a user