Parcourir la source

org-manual: Clarify "link" format for Babel code

* doc/org-manual.org (Format): Clarify "link" format.

Reported-by: Matt Huszagh <huszaghmatt@gmail.com>
Nicolas Goaziou il y a 5 ans
Parent
commit
4f26e31203
1 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. 5 5
      doc/org-manual.org

+ 5 - 5
doc/org-manual.org

@@ -17371,13 +17371,13 @@ follows from the type specified above.
 
 
 - =link=, =graphics= ::
 - =link=, =graphics= ::
 
 
-  Result is a link to the file specified in =:file= header argument.
-  However, unlike plain =:file=, nothing is written to the disk.  The
-  block is used for its side-effects only, as in the following
-  example:
+  When used along with =file= type, the result is a link to the file
+  specified in =:file= header argument.  However, unlike plain =file=
+  type, nothing is written to the disk.  The block is used for its
+  side-effects only, as in the following example:
 
 
   #+begin_example
   #+begin_example
-  ,#+begin_src shell :results link :file "download.tar.gz"
+  ,#+begin_src shell :results file link :file "download.tar.gz"
   wget -c "http://example.com/download.tar.gz"
   wget -c "http://example.com/download.tar.gz"
   ,#+end_src
   ,#+end_src
   #+end_example
   #+end_example