Function: org-babel-comint-use-async
org-babel-comint-use-async is a byte-compiled function defined in
ob-comint.el.gz.
Signature
(org-babel-comint-use-async PARAMS)
Documentation
Determine whether to use session async evaluation.
PARAMS are the header arguments as passed to org-babel-execute:lang.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ob-comint.el.gz
(defun org-babel-comint-use-async (params)
"Determine whether to use session async evaluation.
PARAMS are the header arguments as passed to
`org-babel-execute:lang'."
(let ((async (assq :async params))
(session (assq :session params)))
(and async
(not org-babel-exp-reference-buffer)
(not (equal (cdr async) "no"))
(not (equal (cdr session) "none")))))