1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-23 07:18:53 +00:00

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.
This commit is contained in:
Eric Schulte 2011-10-28 13:57:47 -06:00
parent cfed6e9366
commit 1134385a87

View File

@ -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)