mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-01-10 03:02:17 -08:00
refactor(org): use variables instead of +org-pretty-mode
Toggling +org-pretty-mode on startup is much slower (because `org-toggle-pretty-entites` and realigning tables can be expensive in larger Org buffers), so rely on the variables instead.
This commit is contained in:
parent
32fc210bf6
commit
a70ce220c0
1 changed files with 4 additions and 1 deletions
|
|
@ -11,7 +11,10 @@
|
|||
(use-package! org-modern
|
||||
:hook (org-mode . org-modern-mode)
|
||||
:hook (org-agenda-finalize . org-modern-agenda)
|
||||
:hook (org-modern-mode . +org-pretty-mode)
|
||||
:init
|
||||
(after! org
|
||||
(setq org-hide-emphasis-markers t
|
||||
org-pretty-entities t))
|
||||
:config
|
||||
;; HACK: If `org-indent-mode' is active, org-modern's default of hiding
|
||||
;; leading stars makes sub-headings look too sunken into the left margin.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue