Function: ses-warn-unsafe
ses-warn-unsafe is a byte-compiled function defined in ses.el.gz.
Signature
(ses-warn-unsafe FORMULA CHECKER)
Documentation
Apply CHECKER to FORMULA.
If result is non-nil, asks user for confirmation about FORMULA,
which might be unsafe. Returns t if formula is safe or user allows
execution anyway. Always returns t if safe-functions is t.
Source Code
;; Defined in /usr/src/emacs/lisp/ses.el.gz
(defun ses-warn-unsafe (formula checker)
"Apply CHECKER to FORMULA.
If result is non-nil, asks user for confirmation about FORMULA,
which might be unsafe. Returns t if formula is safe or user allows
execution anyway. Always returns t if `safe-functions' is t."
(if (eq safe-functions t)
t
(setq checker (funcall checker formula))
(if (not checker)
t
(y-or-n-p (format "Formula %S\nmight be unsafe %S. Process it? "
formula checker)))))