emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Doc patch : using session none
@ 2014-12-01 16:40 Thierry Pellé
  0 siblings, 0 replies; only message in thread
From: Thierry Pellé @ 2014-12-01 16:40 UTC (permalink / raw)
  To: emacs-orgmode

Hi, I hope this works (and is correct), it's the first time I dare ...

diff --git a/doc/org.texi b/doc/org.texi
index d508c06..c229187 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -15563,13 +15563,18 @@ execution.
  @cindex @code{:session}, src header argument
  
  The @code{:session} header argument starts a session for an interpreted
-language where state is preserved.
+language where state is preserved.  By default, a session is not started.
  
-By default, a session is not started.
-
-A string passed to the @code{:session} header argument will give the session
-a name.  This makes it possible to run concurrent sessions for each
-interpreted language.
+@itemize @bullet
+@item @code{none}
+The default.  Each block is evaluated in its own session.  The session is
+not preserved after the evaluation.
+@item @code{other}
+Any other string passed to the @code{:session} header argument will give the
+session a name.  All blocks with the same session name share the same
+session.  Using different session name enables concurrent sessions (even for
+the same interpreted language).  E.g., @code{:session mysession}.
+@end itemize
  
  @node noweb
  @subsubsection @code{:noweb}

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-01 16:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-01 16:40 Doc patch : using session none Thierry Pellé

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).