summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2011-10-28 13:57:47 -0600
committerEric Schulte <schulte.eric@gmail.com>2011-10-28 13:58:33 -0600
commit1134385a87a953aaa9325898b35f8e389484529d (patch)
tree43892e9d5dce68724d31474f7aefd4fc23762ad4
parentcfed6e9366c93742072e8e328cf878aac54e08f6 (diff)
downloadorg-mode-1134385a87a953aaa9325898b35f8e389484529d.tar.gz
better handling of multiple-variable :var code block header arguments
* lisp/ob.el (org-babel-parse-multiple-vars): Trimming excess white space from split variables.
-rw-r--r--lisp/ob.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob.el b/lisp/ob.el
index 4438ee8..d94b4b6 100644
--- a/lisp/ob.el
+++ b/lisp/ob.el
@@ -1162,7 +1162,7 @@ shown below.
(let (results)
(mapc (lambda (pair)
(if (eq (car pair) :var)
- (mapcar (lambda (spec) (push (cons :var spec) results))
+ (mapcar (lambda (v) (push (cons :var (org-babel-trim v)) results))
(org-babel-balanced-split (cdr pair) '(44 . (32 9))))
(push pair results)))
header-arguments)