feat(emacs): help popup config

This commit is contained in:
2025-12-20 13:59:27 -07:00
parent b46fd3ee6a
commit 6ff4721807

View File

@@ -7,12 +7,15 @@
"Ran upon display of a new popup buffer. The current buffer will be the
popup.")
(defvar syd-help-popup-options
'(:select t :size 0.42 :popup t :align bottom))
(use-package shackle
:hook on-init-ui
:custom ((shackle-default-size 0.33))
:config
(syd-push shackle-rules
'("*Help*" :select t :size 0.42 :popup t :align bottom)
`("*Help*" ,@syd-help-popup-options)
'("*Messages*" :select t :size 0.16 :popup t :align bottom))
(defvar-local syd--new-popup-hook-ran nil)
(syd-defadvice syd--shackle-run-new-popup-hook-a (buffer _alist)