lang/org: refactor org init process
after! org is more reliable than org-load-hook.
This commit is contained in:
parent
9d3155892a
commit
cd7bd7628f
7 changed files with 52 additions and 46 deletions
|
@ -461,10 +461,10 @@ you came from."
|
|||
(advice-add #'plantuml-preview-string
|
||||
:around #'doom*plantuml-preview-in-popup-window))
|
||||
|
||||
;; Ensure these settings are attached to org-load-hook as late as possible,
|
||||
;; giving other modules a chance to add their own hooks.
|
||||
;; Ensure these settings are loaded as late as possible, giving other modules a
|
||||
;; chance to reconfigure org popup settings before the defaults kick in.
|
||||
(defun doom|init-org-popups ()
|
||||
(add-hook! 'org-load-hook
|
||||
(after! org
|
||||
(set! :popup
|
||||
'("*Calendar*" :size 0.4 :noselect t)
|
||||
'(" *Org todo*" :size 5 :noselect t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue