diff options
author | Bastien Guerry <bzg@altern.org> | 2014-03-15 07:41:56 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2014-03-15 07:41:56 +0100 |
commit | 6aba2424c9b53e05c348ab0e7cf69bd7a49eb144 (patch) | |
tree | adad4a213fa8cb282d2b95d621c6f57335390fe0 | |
parent | 817ea65a6761b115216be154f1b79acd38df0449 (diff) | |
download | org-mode-6aba2424c9b53e05c348ab0e7cf69bd7a49eb144.tar.gz |
org.texi: Document -i in source code blocks
* org.texi (Literal examples): Add index entry.
(Editing source code): Document the -i flag.
-rw-r--r-- | doc/org.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/org.texi b/doc/org.texi index 9ee7724..7bc0247 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -9889,6 +9889,10 @@ In line [[(sc)]] we remember the current position. [[(jump)][Line (jump)]] jumps to point-min. @end example +@index indentation, in source blocks +Finally, you can use @code{-i} to preserve the indentation of a specific code +block (@pxref{Editing source code}). + @vindex org-coderef-label-format If the syntax for the label format conflicts with the language syntax, use a @code{-l} switch to change the format, for example @samp{#+BEGIN_SRC pascal @@ -13799,6 +13803,7 @@ can be used to map arbitrary language names to existing major modes. @item org-src-window-setup Controls the way Emacs windows are rearranged when the edit buffer is created. @item org-src-preserve-indentation +@index indentation, in source blocks By default, the value is @code{nil}, which means that when code blocks are evaluated during export or tangled, they are re-inserted into the code block, which may replace sequences of spaces with tab characters. When non-nil, |