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:
parent
a3e01fb4fe
commit
c48c01ebab
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue