commit e632f811a99e920f824c02e570a19fb366fe4d00
parent 440a0d412571ee2914e76226d1cd684038a4d302
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Thu, 21 Jun 2018 17:14:41 -0500
Protect folded regions in org mode.
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/README.org b/README.org
@@ -782,6 +782,12 @@ Display inline images for =org-babel= execution results.
(add-hook 'org-mode-hook 'org-display-inline-images)
#+END_SRC
+**** Protect Folded Regions
+Don't allow editing of folded regions
+#+BEGIN_SRC emacs-lisp
+ (setq org-catch-invisible-edits 'error)
+#+END_SRC
+
*** Enable spell checking
Spell checking with =flyspell-mode=. Would need to install dictionary lib like =aspell= in base system.
#+BEGIN_SRC emacs-lisp