diff options
author | Dan Davison <dandavison7@gmail.com> | 2010-12-24 11:37:58 +0000 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2010-12-24 11:40:08 +0000 |
commit | a33a4003a1c4319007f94f52c0116e934616f24d (patch) | |
tree | 5b83e49c56795361597723d96d21f068aafe7187 | |
parent | f5bb1b7dbfd9a42fd63adf0744316920b666ff4d (diff) | |
download | org-mode-a33a4003a1c4319007f94f52c0116e934616f24d.tar.gz |
Manual: edits to Working With Source Code chapter
- Clarify that switches and header arguments are optional
- Document `org-src-fontify-natively'
-rw-r--r-- | doc/org.texi | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/org.texi b/doc/org.texi index 929eb06..f324d04 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -11174,7 +11174,8 @@ The structure of code blocks is as follows: #+end_src @end example -code blocks can also be embedded in text as so called inline code blocks as +Switches and header arguments are optional. Code can also be embedded in text +inline using @example src_<language>@{<body>@} @@ -11196,7 +11197,7 @@ formulas (see @ref{The spreadsheet}). @item <language> The language of the code in the block. @item <switches> -Switches controlling exportation of the code block (see switches discussion in +Optional switches controlling exportation of the code block (see switches discussion in @ref{Literal examples}) @item <header arguments> Optional header arguments control many aspects of evaluation, export and @@ -11242,6 +11243,9 @@ By default, Org will ask before returning to an open edit buffer. Set this variable to nil to switch without asking. @end table +To turn on native code fontification in the @emph{Org} buffer, configure the +variable @code{org-src-fontify-natively}. + @comment node-name, next, previous, up @comment Exporting code blocks, Extracting source code, Editing source code, Working With Source Code |