Function: calc-same-interface

calc-same-interface is an interactive and byte-compiled function defined in calc.el.gz.

Signature

(calc-same-interface ARG)

Documentation

Invoke the Calculator using the most recent interface (calc or calc-keypad).

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc.el.gz
(defun calc-same-interface (arg)
  "Invoke the Calculator using the most recent interface (`calc' or `calc-keypad')."
  (interactive "P")
  (if (and (equal (buffer-name) "*Gnuplot Trail*")
	   (> (recursion-depth) 0))
      (exit-recursive-edit)
    (if (derived-mode-p 'calc-edit-mode)
	(calc-edit-finish arg)
      (if calc-was-keypad-mode
          (calc-keypad)
        (calc arg calc-full-mode t)))))