More code streamlining: org-babel-execute:emacs-lisp.
This commit is contained in:
parent
d128662fa3
commit
4fa9c162d9
|
@ -40,11 +40,9 @@
|
|||
function is called by `org-babel-execute-src-block' via multiple-value-bind."
|
||||
(message "executing emacs-lisp code block...")
|
||||
(save-window-excursion
|
||||
(let ((print-level nil) (print-length nil) results)
|
||||
(setq results
|
||||
(let ((print-level nil) (print-length nil))
|
||||
(eval `(let ,(mapcar (lambda (var) `(,(car var) ',(cdr var))) vars)
|
||||
,(read (concat "(progn " body ")")))))
|
||||
results)))
|
||||
,(read (concat "(progn " body ")")))))))
|
||||
|
||||
(provide 'org-babel-lisp)
|
||||
;;; org-babel-lisp.el ends here
|
||||
|
|
Loading…
Reference in New Issue