1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-21 06:55:35 +00:00

fixup! lisp/ob-emacs-lisp.el: Throw an error when session is requested

This commit is contained in:
Ihor Radchenko 2024-04-09 16:35:44 +03:00
parent d1c6f91ced
commit 9d636473be
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B

View File

@ -80,7 +80,8 @@ by `org-edit-src-code'.")
(concat "(pp " body ")")
body))
(org-babel-emacs-lisp-lexical lexical))))
(when session (error "ob-emacs-lisp backend does not support sessions"))
(when (and session (not (equal session "none")))
(error "ob-emacs-lisp backend does not support sessions"))
(org-babel-result-cond result-params
(let ((print-level nil)
(print-length nil))