]> git.eshelyaron.com Git - emacs.git/commitdiff
Clarify what a Calc registeri in in calc-insert-register
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 13 Jun 2022 15:14:08 +0000 (17:14 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 13 Jun 2022 15:14:17 +0000 (17:14 +0200)
* lisp/calc/calc-yank.el (calc-insert-register): Note that these
aren't normal registers (bug#55943).

lisp/calc/calc-yank.el

index 8c6d3f51e5d5886e9de09d9d5ea89014b095b8cc..189ee0a24447455465ffcfb99bec76c597074c01 100644 (file)
@@ -301,7 +301,10 @@ 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'."
+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."
   (interactive (list (register-read-with-preview "Insert register: ")))
   (if (eq major-mode 'calc-mode)
       (let ((val (calc-get-register register)))