Function: calc-other-window

calc-other-window is an autoloaded, interactive and byte-compiled function defined in calc-misc.el.gz.

Signature

(calc-other-window &optional INTERACTIVE)

Documentation

Invoke the Calculator in another window.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-misc.el.gz
;;;###autoload
(defun calc-other-window (&optional interactive)
  "Invoke the Calculator in another window."
  (interactive "p")
  (if (memq major-mode '(calc-mode calc-trail-mode))
      (progn
	(other-window 1)
	(if (memq major-mode '(calc-mode calc-trail-mode))
	    (other-window 1)))
    (if (get-buffer-window "*Calculator*")
	(calc-quit)
      (let ((win (selected-window)))
	(calc nil win interactive)))))