Function: calculator-repL

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

Signature

(calculator-repL X)

Documentation

Repeat the last binary operation with its first argument and X.

To use this, apply a binary operator (evaluate it), then call this.

Source Code

;; Defined in /usr/src/emacs/lisp/calculator.el.gz
(defun calculator-repL (x)
  "Repeat the last binary operation with its first argument and X.
To use this, apply a binary operator (evaluate it), then call this."
  (if calculator-last-opXY
    ;; avoid rebinding calculator-last-opXY
    (let ((calculator-last-opXY calculator-last-opXY))
      (calculator-funcall
       (car calculator-last-opXY) (nth 1 calculator-last-opXY) x))
    x))