Function: calculator-register-read-with-preview
calculator-register-read-with-preview is a byte-compiled function
defined in calculator.el.gz.
Signature
(calculator-register-read-with-preview PROMPT)
Documentation
Similar to register-read-with-preview but for calculator registers.
Source Code
;; Defined in /usr/src/emacs/lisp/calculator.el.gz
(defun calculator-register-read-with-preview (prompt)
"Similar to `register-read-with-preview' but for calculator registers."
(let ((register-alist calculator-registers)
(register-preview-delay 1)
(register-preview-function
(lambda (r)
(format "%s: %s\n"
(single-key-description (car r))
(calculator-number-to-string (cdr r))))))
(register-read-with-preview prompt)))