From 7ba45682dc960f61fd071fe3487a5f9713cd1239 Mon Sep 17 00:00:00 2001 From: Daneel Date: Mon, 23 Feb 2026 19:46:28 +0100 Subject: [PATCH] fix(org-modern): :custom for early var setup + disable org-indent-mode conflict --- config.el | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/config.el b/config.el index 84a6925..1a1203b 100644 --- a/config.el +++ b/config.el @@ -261,7 +261,8 @@ Bound to cmd+v in org-mode and markdown-mode." (lambda (_backend) (org-update-all-dblocks))) ;; Visual: hide markup, pretty entities, compact tags - (setq org-hide-emphasis-markers t + (setq org-startup-indented nil ; disable org-indent-mode -- conflicts with org-modern star display + org-hide-emphasis-markers t org-pretty-entities t org-ellipsis " ▾" org-auto-align-tags nil @@ -1141,16 +1142,15 @@ Otherwise: runs interactive ement-connect, then opens rooms after sync." ;;; ============================================================ ;;; Org-modern -- modern visual style for org-mode -;; :hook triggers lazy loading via use-package!/straight.el (critical for load-path). -;; org-modern-table nil: table overlays can conflict with LaTeX export. -;; org-agenda-finalize-hook: apply modern style to agenda buffers too. +;; :custom sets vars before first activation (unlike :config which runs after). +;; org-modern-table nil: avoids LaTeX export conflicts. (use-package! org-modern :hook (org-mode . org-modern-mode) :hook (org-agenda-finalize . org-modern-agenda) - :config - (setq org-modern-star '("◉" "○" "✸" "✿") - org-modern-table nil - org-modern-checkbox t)) + :custom + (org-modern-star '("◉" "○" "✸" "✿")) + (org-modern-table nil) + (org-modern-checkbox t)) ;;; ============================================================