summaryrefslogtreecommitdiff
path: root/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'init.org')
-rw-r--r--init.org7
1 files changed, 6 insertions, 1 deletions
diff --git a/init.org b/init.org
index 85536ea..2d895b4 100644
--- a/init.org
+++ b/init.org
@@ -522,6 +522,12 @@ Org mode is an excellent environment for literate programming through Babel. He
(require 'ob-R)
#+END_SRC
+After editing source snippets with =C-c '= please don’t indent everything with two spaces. Just leave things as I edited them.
+
+#+BEGIN_SRC elisp
+(setq org-edit-src-content-indentation 0)
+#+END_SRC
+
All of this should be loaded lazily.
#+BEGIN_SRC elisp :noweb-ref org-mode-lazy
@@ -1569,6 +1575,5 @@ Having defined named code blocks in the sections above we can finally put them a
* Variables :noexport:
# Local Variables:
-# org-edit-src-content-indentation: 0
# eval: (add-hook 'org-babel-post-tangle-hook (lambda nil (byte-compile-file "~/.emacs.d/init.el")))
# End: