mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(org): interop between org-fancy-priorities & org-export
Causing a beginning-of-buffer error. Fix: #8280
This commit is contained in:
@ -21,7 +21,13 @@
|
||||
(use-package! org-fancy-priorities ; priority icons
|
||||
:hook (org-mode . org-fancy-priorities-mode)
|
||||
:hook (org-agenda-mode . org-fancy-priorities-mode)
|
||||
:config (setq org-fancy-priorities-list '("⚑" "⬆" "■")))
|
||||
:config
|
||||
(setq org-fancy-priorities-list '("⚑" "⬆" "■"))
|
||||
;; HACK: Prevent org-fancy-priorities from interfering with org exporters or
|
||||
;; other non-interactive Org crawlers/parsers (see #8280).
|
||||
(defadvice! +org--inhibit-org-fancy-in-non-real-buffers-a (&rest _)
|
||||
:before-until #'org-fancy-priorities-mode
|
||||
org-inhibit-startup))
|
||||
|
||||
|
||||
(use-package! org-appear ; better markup edit
|
||||
|
Reference in New Issue
Block a user