[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 52bde22b9d 1/2: Merge branch 'bugfix'
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 52bde22b9d 1/2: Merge branch 'bugfix' |
Date: |
Mon, 22 Apr 2024 15:58:44 -0400 (EDT) |
branch: externals/org
commit 52bde22b9dcb23e43e912dadaf912c9512cd0a80
Merge: dba92f72d3 a9275d5fd1
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
Merge branch 'bugfix'
---
doc/org-manual.org | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/doc/org-manual.org b/doc/org-manual.org
index ca1c9b4824..d242305684 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -11615,13 +11615,15 @@ see [[*Structure Templates]] for shortcuts to easily
insert code blocks.
#+end_example
Both in =example= and in =src= snippets, you can add a =-n= switch to
-the end of the =#+BEGIN= line, to get the lines of the example
-numbered. The =-n= takes an optional numeric argument specifying the
-starting line number of the block. If you use a =+n= switch, the
-numbering from the previous numbered snippet is continued in the
-current one. The =+n= switch can also take a numeric argument. This
-adds the value of the argument to the last line of the previous block
-to determine the starting line number.
+the =#+BEGIN= line[fn::In the =src= snippets, switches must be placed
+right after the language name and before the [[*Structure of Code
+Blocks][header arguments]]], to get the lines of the example numbered.
+The =-n= takes an optional numeric argument specifying the starting
+line number of the block. If you use a =+n= switch, the numbering
+from the previous numbered snippet is continued in the current one.
+The =+n= switch can also take a numeric argument. This adds the value
+of the argument to the last line of the previous block to determine
+the starting line number.
#+begin_example
,#+BEGIN_SRC emacs-lisp -n 20