mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -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
|
(use-package! org-fancy-priorities ; priority icons
|
||||||
:hook (org-mode . org-fancy-priorities-mode)
|
:hook (org-mode . org-fancy-priorities-mode)
|
||||||
:hook (org-agenda-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
|
(use-package! org-appear ; better markup edit
|
||||||
|
Reference in New Issue
Block a user