Pārlūkot izejas kodu

Fixed shell script example in "Emacs Lisp evaluation of variables."

The variable names in the header arguments and in the sh code didn't line
up.  Made them agree.
Robert P. Goldman 14 gadi atpakaļ
vecāks
revīzija
a285debf5c
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      doc/org.texi

+ 2 - 2
doc/org.texi

@@ -12068,8 +12068,8 @@ org-mode file, while there is no such guarantee for evaluation of the code
 block body.
 
 @example
-#+begin_src sh :var file-name=(buffer-file-name) :exports both
-  wc -w $file
+#+begin_src sh :var filename=(buffer-file-name) :exports both
+  wc -w $filename
 #+end_src
 @end example