mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/org: fix void-function +org|setup-ui error
Caused if org is loaded early in your config, before :lang org is loaded. Or when byte-compiling.
This commit is contained in:
@ -64,15 +64,11 @@
|
||||
+org|enable-auto-update-cookies
|
||||
+org|smartparens-compatibility-config
|
||||
+org|unfold-to-2nd-level-or-point
|
||||
+org|show-paren-mode-compatibility
|
||||
))
|
||||
+org|show-paren-mode-compatibility))
|
||||
|
||||
(after! org
|
||||
(defvaralias 'org-directory '+org-dir))
|
||||
|
||||
(when (featurep 'org)
|
||||
(run-hooks 'org-load-hook))
|
||||
|
||||
|
||||
;;
|
||||
;; `org-mode' hooks
|
||||
@ -332,3 +328,7 @@ between the two."
|
||||
(apply orig-fn args)))
|
||||
(advice-add #'org-get-agenda-file-buffer
|
||||
:around #'+org*exclude-agenda-buffers-from-recentf))
|
||||
|
||||
;;
|
||||
(when (featurep 'org)
|
||||
(run-hooks 'org-load-hook))
|
||||
|
Reference in New Issue
Block a user