Browse Source

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.
Eric Schulte 7 years ago
parent
commit
1134385a87
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ob.el

+ 1 - 1
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)