mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-06 03:13:16 +00:00
ob: no longer adding extra ":" to singleton first header args
* lisp/ob.el (org-babel-parse-header-arguments): Removed addition of ":" to singleton first header arguments as it was leading to errors.
This commit is contained in:
parent
f692ba3c26
commit
6baa78b2da
|
@ -906,10 +906,9 @@ may be specified at the top of the current buffer."
|
||||||
arg)
|
arg)
|
||||||
(cons (intern (match-string 1 arg))
|
(cons (intern (match-string 1 arg))
|
||||||
(org-babel-read (org-babel-chomp (match-string 2 arg))))
|
(org-babel-read (org-babel-chomp (match-string 2 arg))))
|
||||||
(cons (intern (concat ":" arg)) nil)))
|
(cons (intern arg) nil)))
|
||||||
;; walk the list splitting on balanced instances of [ \t]:
|
|
||||||
(let ((balance 0) (partial nil) (lst nil) (last 0))
|
(let ((balance 0) (partial nil) (lst nil) (last 0))
|
||||||
(mapc (lambda (ch)
|
(mapc (lambda (ch) ; split on [] balanced instances of [ \t]:
|
||||||
(setq balance (+ balance
|
(setq balance (+ balance
|
||||||
(cond ((equal 91 ch) 1)
|
(cond ((equal 91 ch) 1)
|
||||||
((equal 93 ch) -1)
|
((equal 93 ch) -1)
|
||||||
|
|
Loading…
Reference in a new issue