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:
parent
d1c6f91ced
commit
9d636473be
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user