1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-02 08:22:16 +00:00

babel: ob-emacs-lisp now wraps body in a progn on execute

This commit is contained in:
Eric Schulte 2010-04-27 13:55:48 -06:00
parent 77731fbe55
commit 6a1f5b2bcb

View File

@ -62,7 +62,8 @@
(save-window-excursion
(let ((processed-params (org-babel-process-params params)))
(org-babel-reassemble-table
(eval (read (org-babel-expand-body:emacs-lisp body params)))
(eval (read (format "(progn %s)"
(org-babel-expand-body:emacs-lisp body params))))
(org-babel-pick-name (nth 4 processed-params) (cdr (assoc :colnames params)))
(org-babel-pick-name (nth 5 processed-params) (cdr (assoc :rownames params)))))))