[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 73400e4002: Clarify what a Calc registeri in in calc-insert-reg
From: |
Lars Ingebrigtsen |
Subject: |
emacs-28 73400e4002: Clarify what a Calc registeri in in calc-insert-register |
Date: |
Mon, 13 Jun 2022 11:14:32 -0400 (EDT) |
branch: emacs-28
commit 73400e4002ce8fca060093548e6791b3a784eeaa
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Clarify what a Calc registeri in in calc-insert-register
* lisp/calc/calc-yank.el (calc-insert-register): Note that these
aren't normal registers (bug#55943).
---
lisp/calc/calc-yank.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lisp/calc/calc-yank.el b/lisp/calc/calc-yank.el
index 8c6d3f51e5..189ee0a244 100644
--- a/lisp/calc/calc-yank.el
+++ b/lisp/calc/calc-yank.el
@@ -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)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 73400e4002: Clarify what a Calc registeri in in calc-insert-register,
Lars Ingebrigtsen <=