Function: calc-do-dispatch

calc-do-dispatch is a byte-compiled function defined in calc.el.gz.

Signature

(calc-do-dispatch &optional ARG)

Documentation

Start the Calculator.

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc.el.gz
(defun calc-do-dispatch (&optional _arg)
  "Start the Calculator."
  (let ((key (calc-read-key-sequence
	      (if calc-dispatch-help
		  "Calc options: Calc, Keypad, Quick, Embed; eXit; Info, Tutorial; Grab; ?=more"
		(format "%s  (Type ? for a list of Calc options)"
			(key-description (this-command-keys))))
	      calc-dispatch-map)))
    (setq key (lookup-key calc-dispatch-map key))
    (message "")
    (if key
	(progn
	  (or (commandp key) (require 'calc-ext))
	  (call-interactively key))
      (beep))))