summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-04-24 11:03:20 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-04-24 11:03:20 +0200
commit0b3a2b3271968e4a697dd34a2828cd2ecdd62a4c (patch)
treeb71a5131b46b05733ddbd76d632cf023ba5a286b
parentc8eaa5fcf1790923e8f98890cf12ec7c4c450754 (diff)
downloadorg-mode-0b3a2b3271968e4a697dd34a2828cd2ecdd62a4c.tar.gz
manual: Add a reference to `org-babel-expand-src-block'
* doc/org-manual.org (Noweb Reference Syntax): Add a reference to `org-babel-expand-src-block'.
-rw-r--r--doc/org-manual.org11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/org-manual.org b/doc/org-manual.org
index b036285..c668db3 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -18139,6 +18139,17 @@ else:
print('do things when false')
#+end_example
+When in doubt about the outcome of a source code block expansion, you
+can preview the results with the following command:
+
+- {{{kbd(C-c C-v v)}}} or {{{kbd(C-c C-v C-v)}}} (~org-babel-expand-src-block~) ::
+
+ #+findex: org-babel-expand-src-block
+ #+kindex: C-c C-v v
+ #+kindex: C-c C-v C-v
+ Expand the current source code block according to its header
+ arguments and pop open the results in a preview buffer.
+
** Library of Babel
:PROPERTIES:
:DESCRIPTION: Use and contribute to a library of useful code blocks.