emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Robert P. Goldman" <rpgoldman@real-time.com>
To: emacs-orgmode@gnu.org
Cc: "Robert P. Goldman" <rpgoldman@real-time.com>
Subject: [PATCH] Fixed shell script example in "Emacs Lisp evaluation of variables."
Date: Thu, 21 Apr 2011 12:12:00 -0500	[thread overview]
Message-ID: <1303405920-1184-2-git-send-email-rpgoldman@real-time.com> (raw)
In-Reply-To: <1303405920-1184-1-git-send-email-rpgoldman@real-time.com>

The variable names in the header arguments and in the sh code didn't line
up.  Made them agree.
---
 doc/org.texi |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index 17922d4..e68ed18 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -12072,8 +12072,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
 
-- 
1.7.3.5

  reply	other threads:[~2011-04-21 17:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-21 17:11 Patch for org-babel manual node Robert P. Goldman
2011-04-21 17:12 ` Robert P. Goldman [this message]
2011-05-02  9:09   ` [Accepted] Fixed shell script example in "Emacs Lisp evaluation of variables." Carsten Dominik
2011-04-21 20:56 ` Patch for org-babel manual node Eric Schulte
2011-04-21 21:17   ` Robert Goldman
2011-04-22 14:07     ` Eric Schulte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1303405920-1184-2-git-send-email-rpgoldman@real-time.com \
    --to=rpgoldman@real-time.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).