]> code.delx.au - gnu-emacs/blobdiff - lisp/org/ob-table.el
* files.el (basic-save-buffer-1): Don't set buffer-file-coding-system-explicit.
[gnu-emacs] / lisp / org / ob-table.el
index 7b4920e1ec4c4845b79fc94e51e4ef9156660afc..99951cab7bffb5b1388cdf35a1545ae75412d912 100644 (file)
@@ -1,6 +1,6 @@
 ;;; ob-table.el --- support for calling org-babel functions from tables
 
-;; Copyright (C) 2009-201 Free Software Foundation, Inc.
+;; Copyright (C) 2009-2013 Free Software Foundation, Inc.
 
 ;; Author: Eric Schulte
 ;; Keywords: literate programming, reproducible research
@@ -75,9 +75,8 @@ results
 
 NOTE: by default string variable names are interpreted as
 references to source-code blocks, to force interpretation of a
-cell's value as a string, prefix the identifier with two \"$\"s
-rather than a single \"$\" (i.e. \"$$2\" instead of \"$2\" in the
-example above.
+cell's value as a string, prefix the identifier a \"$\" (e.g.,
+\"$$2\" instead of \"$2\" or \"$@2$2\" instead of \"@2$2\").
 
 NOTE: it is also possible to pass header arguments to the code
 block.  In this case a table cell should hold the string value of
@@ -97,10 +96,10 @@ as shown in the example below.
                     (delq nil (mapcar
                                (lambda (el)
                                  (if (eq '$ el)
-                                     (setq quote t)
+                                     (prog1 nil (setq quote t))
                                    (prog1 (if quote
                                               (format "\"%s\"" el)
-                                            (org-babel-clean-text-properties el))
+                                            (org-no-properties el))
                                      (setq quote nil))))
                                (cdr var)))))
             variables)))