General, minor refactor
+ Group hooks with add-hook! + Sharpquote elfeed call + Extract elfeed buffer detector into function and ensure idempotency of doom-real-buffer-functions
This commit is contained in:
parent
b81ac61d84
commit
32a2a2b64d
4 changed files with 7 additions and 6 deletions
|
@ -16,7 +16,7 @@
|
|||
;; Custom modeline that removes useless info and adds page numbers
|
||||
(when (featurep! :ui doom-modeline)
|
||||
(load! "+modeline")
|
||||
(add-hook! pdf-tools-enabled (doom-set-modeline 'pdf-tools-modeline)))
|
||||
(add-hook! #'pdf-tools-enabled-hook (doom-set-modeline 'pdf-tools-modeline)))
|
||||
;; Handle PDF-tools related popups better
|
||||
(set! :popup "^\\*Outline*" '((side . right) (size . 40)) '((select)))
|
||||
;; TODO: Add additional important windows that should be handled differently
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue