mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Refactor doom-popup-prop (cond -> pcase)
This commit is contained in:
@ -152,10 +152,9 @@ only close popups that have an :autoclose property in their rule (see
|
|||||||
doom-popup-rules)
|
doom-popup-rules)
|
||||||
(window-parameter window 'popup))
|
(window-parameter window 'popup))
|
||||||
prop)
|
prop)
|
||||||
(cond ((eq prop :size)
|
(pcase prop
|
||||||
shackle-default-size)
|
(:size shackle-default-size)
|
||||||
((eq prop :align)
|
(:align shackle-default-alignment))))
|
||||||
shackle-default-alignment))))
|
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom-popup-side (&optional window)
|
(defun doom-popup-side (&optional window)
|
||||||
|
Reference in New Issue
Block a user