diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-02-18 22:41:58 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-02-18 22:41:58 +0100 |
commit | 961c8d8066c0ef180ecc49adc01d9885de0e0ef1 (patch) | |
tree | d24beb1305b572ee72bcd773d4c5ba00bd9154cc | |
parent | 3db65baa8a71e71fd04207071cdae61899784923 (diff) |
org: Set org-edit-src-content-indentation globally.
-rw-r--r-- | init.org | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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: |