* doc/org.texi: #+RESULTS now user-configurable
This commit is contained in:
parent
43fb184634
commit
03aae6bd07
17
doc/org.texi
17
doc/org.texi
|
@ -12629,17 +12629,24 @@ of tangled code files.
|
||||||
@section Evaluating code blocks
|
@section Evaluating code blocks
|
||||||
@cindex code block, evaluating
|
@cindex code block, evaluating
|
||||||
@cindex source code, evaluating
|
@cindex source code, evaluating
|
||||||
|
@cindex #+RESULTS
|
||||||
|
|
||||||
Code blocks can be evaluated@footnote{Whenever code is evaluated there is a
|
Code blocks can be evaluated@footnote{Whenever code is evaluated there is a
|
||||||
potential for that code to do harm. Org mode provides safeguards to ensure
|
potential for that code to do harm. Org mode provides safeguards to ensure
|
||||||
that code is only evaluated after explicit confirmation from the user. For
|
that code is only evaluated after explicit confirmation from the user. For
|
||||||
information on these safeguards (and on how to disable them) see @ref{Code
|
information on these safeguards (and on how to disable them) see @ref{Code
|
||||||
evaluation security}.} and the results of evaluation optionally placed in the
|
evaluation security}.} and the results of evaluation optionally placed in the
|
||||||
Org mode buffer. By default, the evaluation facility is only enabled for
|
Org mode buffer. The results of evaluation are placed following a line that
|
||||||
Lisp code blocks specified as @code{emacs-lisp}. However, source code blocks
|
begins by default with @code{#+RESULTS} and optionally a cache identifier
|
||||||
in many languages can be evaluated within Org mode (see @ref{Languages} for a
|
and/or the name of the evaluated code block. The default value of
|
||||||
list of supported languages and @ref{Structure of code blocks} for
|
@code{#+RESULTS} can be changed with the customizable variable
|
||||||
information on the syntax used to define a code block).
|
@code{org-babel-results-keyword}.
|
||||||
|
|
||||||
|
By default, the evaluation facility is only enabled for Lisp code blocks
|
||||||
|
specified as @code{emacs-lisp}. However, source code blocks in many languages
|
||||||
|
can be evaluated within Org mode (see @ref{Languages} for a list of supported
|
||||||
|
languages and @ref{Structure of code blocks} for information on the syntax
|
||||||
|
used to define a code block).
|
||||||
|
|
||||||
@kindex C-c C-c
|
@kindex C-c C-c
|
||||||
There are a number of ways to evaluate code blocks. The simplest is to press
|
There are a number of ways to evaluate code blocks. The simplest is to press
|
||||||
|
|
Loading…
Reference in New Issue