From 1134385a87a953aaa9325898b35f8e389484529d Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Fri, 28 Oct 2011 13:57:47 -0600 Subject: [PATCH] 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. --- lisp/ob.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob.el b/lisp/ob.el index 4438ee85f..d94b4b6df 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)