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
(substitute-command-keys
(concat
"Calc options: \\`c'alc, \\`k'eypad, \\`q'uick, \\`e'mbed; "
"e\\`x'it; \\`i'nfo, \\`t'utorial; \\`g'rab; \\`?'=more"))
(format (substitute-command-keys
"%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))))