org.texi: Fix example

* doc/org.texi (noweb-ref): Update Babel parameter syntax in example.
This commit is contained in:
Nicolas Goaziou 2017-02-23 19:15:22 +01:00
parent 4084337dbe
commit c7c9477260
1 changed files with 2 additions and 4 deletions

View File

@ -16152,9 +16152,7 @@ blocks by matching the reference name to either the block name or the
For simple concatenation, set this @code{:noweb-ref} header argument at the For simple concatenation, set this @code{:noweb-ref} header argument at the
sub-tree or file level. In the example Org file shown next, the body of the sub-tree or file level. In the example Org file shown next, the body of the
source code in each block is extracted for concatenation to a pure code source code in each block is extracted for concatenation to a pure code file.
file@footnote{(For the example to work, turn on the property inheritance for
@code{noweb-ref}, @pxref{Property inheritance}).}.
@example @example
#+BEGIN_SRC sh :tangle yes :noweb yes :shebang #!/bin/sh #+BEGIN_SRC sh :tangle yes :noweb yes :shebang #!/bin/sh
@ -16162,7 +16160,7 @@ file@footnote{(For the example to work, turn on the property inheritance for
#+END_SRC #+END_SRC
* the mount point of the fullest disk * the mount point of the fullest disk
:PROPERTIES: :PROPERTIES:
:noweb-ref: fullest-disk :header-args: :noweb-ref fullest-disk
:END: :END:
** query all mounted disks ** query all mounted disks