This commit is contained in:
2023-01-06 12:13:18 +01:00
parent 3476d496a7
commit 900a4d9928
2 changed files with 11 additions and 9 deletions

View File

@@ -26,11 +26,12 @@
(setq org-hide-leading-stars nil) ;; must be nil! hiding via `org-superstar-remove-leading-stars'
(setq my-last-org-superstar-remove-leading-stars org-superstar-remove-leading-stars)
(setq org-superstar-remove-leading-stars t)
(org-superstar-restart)
)
(setq my-last-org-num-mode org-num-mode)
(unless org-num-mode (org-num-mode))
)
(org-superstar-restart))
(unless (and (featurep 'org-num)
org-num-mode)
(setq my-last-org-num-mode (when (featurep 'org-num)
org-num-mode))
(org-num-mode)))
(olivetti-mode t))
(progn
(jump-to-register 1)
@@ -40,10 +41,8 @@
(equal org-superstar-mode t))
(setq org-hide-leading-stars my-last-org-hide-leading-stars)
(setq org-superstar-remove-leading-stars my-last-org-superstar-remove-leading-stars)
(org-superstar-restart)
)
(unless my-last-org-num-mode (org-num-mode -1))
)
(org-superstar-restart))
(unless my-last-org-num-mode (org-num-mode -1)))
(olivetti-mode 0)))))
(use-package my-org-article