lang/org: org-catch-invisible-edits = 'smart

This commit is contained in:
Henrik Lissner 2020-07-26 16:13:13 -04:00
parent b2e11f9a72
commit a5c509afff
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -1096,6 +1096,10 @@ compelling reason, so..."
:config :config
(setq org-archive-subtree-save-file-p t) ; save target buffer after archiving (setq org-archive-subtree-save-file-p t) ; save target buffer after archiving
;; Prevent modifications made in invisible sections of an org document, as
;; unintended changes can easily go unseen otherwise.
(setq org-catch-invisible-edits 'smart)
;; Global ID state means we can have ID links anywhere. This is required for ;; Global ID state means we can have ID links anywhere. This is required for
;; `org-brain', however. ;; `org-brain', however.
(setq org-id-locations-file-relative t) (setq org-id-locations-file-relative t)