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