Function: calculator-reduce-stack

calculator-reduce-stack is a byte-compiled function defined in calculator.el.gz.

Signature

(calculator-reduce-stack PREC)

Documentation

Reduce the stack using top operators as long as possible.

PREC is a precedence -- reduce everything with higher precedence.

Source Code

;; Defined in /usr/src/emacs/lisp/calculator.el.gz
      (_ nil)))) ; nil = done

(defun calculator-reduce-stack (prec)
  "Reduce the stack using top operators as long as possible.
PREC is a precedence -- reduce everything with higher precedence."
  (let ((new nil))
    (while (setq new (calculator-reduce-stack-once prec))
      (setq calculator-stack new))))