Function: org-babel-check-evaluate

org-babel-check-evaluate is a byte-compiled function defined in ob-core.el.gz.

Signature

(org-babel-check-evaluate INFO)

Documentation

Check if code block INFO should be evaluated.

Do not query the user, but do display an informative message if evaluation is blocked. Returns non-nil if evaluation is not blocked.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-core.el.gz
(defun org-babel-check-evaluate (info)
  "Check if code block INFO should be evaluated.
Do not query the user, but do display an informative message if
evaluation is blocked.  Returns non-nil if evaluation is not blocked."
  (let ((confirmed (org-babel-check-confirm-evaluate info)))
    (unless confirmed
      (message "Evaluation of this %s code block%sis disabled."
	       (nth 0 info)
	       (let ((name (nth 4 info)))
		 (if name (format " (%s) " name) " "))))
    confirmed))