Add helpful windows to popper list

This commit is contained in:
David Morgan 2022-10-12 16:45:41 +01:00
parent c60587f1d5
commit 4a90d38268
Signed by: djm
GPG Key ID: C171251002C200F2
1 changed files with 12 additions and 10 deletions

View File

@ -80,16 +80,18 @@
:bind (("<f5>" . popper-toggle-latest) :bind (("<f5>" . popper-toggle-latest)
("<f6>" . popper-cycle) ("<f6>" . popper-cycle)
("<f7>" . popper-toggle-type)) ("<f7>" . popper-toggle-type))
:init :custom
(setq popper-reference-buffers (popper-reference-buffers
'("\\*Messages\\*" '("\\*Messages\\*"
"\\*HTTP Response\\*" "\\*HTTP Response\\*"
"Output\\*$" "Output\\*$"
"\\*Async Shell Command\\*" "\\*Async Shell Command\\*"
help-mode help-mode
compilation-mode)) helpful-mode
(popper-mode +1) compilation-mode))
(popper-echo-mode +1)) :hook (emacs-startup . (lambda ()
(popper-mode +1)
(popper-echo-mode +1))))
(provide 'init-windows) (provide 'init-windows)
;;; init-windows.el ends here ;;; init-windows.el ends here