]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Clarify what a Calc registeri in in calc-insert-register"
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 14 Jun 2022 11:56:07 +0000 (13:56 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 14 Jun 2022 11:56:07 +0000 (13:56 +0200)
This reverts commit 73400e4002ce8fca060093548e6791b3a784eeaa.

This has been fixed in Emacs 29 by making it possible to use regular registers in calc.

lisp/calc/calc-yank.el

index 189ee0a24447455465ffcfb99bec76c597074c01..8c6d3f51e5d5886e9de09d9d5ea89014b095b8cc 100644 (file)
@@ -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)))