Function: calculator-clear-fragile
calculator-clear-fragile is a byte-compiled function defined in
calculator.el.gz.
Signature
(calculator-clear-fragile &optional OP)
Documentation
Clear the fragile flag if it was set, then maybe reset all.
OP is the operator (if any) that caused this call.
Source Code
;; Defined in /usr/src/emacs/lisp/calculator.el.gz
(defun calculator-clear-fragile (&optional op)
"Clear the fragile flag if it was set, then maybe reset all.
OP is the operator (if any) that caused this call."
(when (and calculator-display-fragile
(or (not op) (memq (calculator-op-arity op) '(-1 0))))
;; reset if last calc finished, and now get a num or prefix or 0-ary
;; op
(calculator-reset))
(setq calculator-display-fragile nil))