From: Lars Ingebrigtsen Date: Tue, 14 Jun 2022 11:56:07 +0000 (+0200) Subject: Revert "Clarify what a Calc registeri in in calc-insert-register" X-Git-Tag: emacs-28.1.90~35 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=850050ca5c4873be9acafce7c9950c10d04d381d;p=emacs.git Revert "Clarify what a Calc registeri in in calc-insert-register" This reverts commit 73400e4002ce8fca060093548e6791b3a784eeaa. This has been fixed in Emacs 29 by making it possible to use regular registers in calc. --- diff --git a/lisp/calc/calc-yank.el b/lisp/calc/calc-yank.el index 189ee0a2444..8c6d3f51e5d 100644 --- a/lisp/calc/calc-yank.el +++ b/lisp/calc/calc-yank.el @@ -301,10 +301,7 @@ Interactively, reads the register using `register-read-with-preview'." (defun calc-insert-register (register) "Insert the contents of register REGISTER. -Interactively, reads the register using `register-read-with-preview'. - -Note that this command only works with Calc registers, and they -have nothing to do with the Emacs-wide register mechanism." +Interactively, reads the register using `register-read-with-preview'." (interactive (list (register-read-with-preview "Insert register: "))) (if (eq major-mode 'calc-mode) (let ((val (calc-get-register register)))