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:
parent
8cab2f19fd
commit
48cb10a9cc
1 changed files with 5 additions and 5 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue