Function: calc-set-register

calc-set-register is a byte-compiled function defined in calc-yank.el.gz.

Signature

(calc-set-register REGISTER TEXT CALCVAL)

Documentation

Set the contents of the Calc register REGISTER to (TEXT . CALCVAL), as well as set the contents of the Emacs register REGISTER to TEXT.

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-yank.el.gz
(defun calc-set-register (register text calcval)
  "Set the contents of the Calc register REGISTER to (TEXT . CALCVAL),
as well as set the contents of the Emacs register REGISTER to TEXT."
  (set-register register text)
  (setf (alist-get register calc-register-alist) (cons text calcval)))