babel: Fix bug in `org-babel-get-src-block-info'
* ob.el (org-babel-get-src-block-info): Form info list correctly when parenthesised arguments are missing
This commit is contained in:
parent
60dbabb263
commit
8b327f2a77
|
@ -168,7 +168,8 @@ added to the header-arguments-alist."
|
|||
(append info (list
|
||||
(mapcar
|
||||
(lambda (ref) (cons :var ref))
|
||||
(org-babel-ref-split-args args))))))
|
||||
(org-babel-ref-split-args args)))))
|
||||
(setq info (append info (list nil))))
|
||||
(unless header-vars-only
|
||||
(setf (nth 2 info)
|
||||
(org-babel-merge-params (nth 5 info) (nth 2 info)))))
|
||||
|
|
Loading…
Reference in New Issue