mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
feat(org): set org-num-face & org-num-skip-tags
+ Perhaps a dedicated face would be better, but org-special-keyword will do for now. + Don't number trees tagged :noexport: or :nonum:.
This commit is contained in:
@ -1197,6 +1197,10 @@ compelling reason, so..."
|
||||
;; Save target buffer after archiving a node.
|
||||
(setq org-archive-subtree-save-file-p t)
|
||||
|
||||
;; Don't number headings with these tags
|
||||
(setq org-num-face '(:inherit org-special-keyword :underline nil :weight bold)
|
||||
org-num-skip-tags '("noexport" "nonum"))
|
||||
|
||||
;; Prevent modifications made in invisible sections of an org document, as
|
||||
;; unintended changes can easily go unseen otherwise.
|
||||
(setq org-catch-invisible-edits 'smart)
|
||||
|
Reference in New Issue
Block a user