From a33a4003a1c4319007f94f52c0116e934616f24d Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Fri, 24 Dec 2010 11:37:58 +0000 Subject: [PATCH] Manual: edits to Working With Source Code chapter - Clarify that switches and header arguments are optional - Document `org-src-fontify-natively' --- doc/org.texi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index 929eb06ad..f324d0420 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_@{@} @@ -11196,7 +11197,7 @@ formulas (see @ref{The spreadsheet}). @item The language of the code in the block. @item -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
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