[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 6fd33fbf6a: Merge from origin/emacs-28
From: |
Stefan Kangas |
Subject: |
master 6fd33fbf6a: Merge from origin/emacs-28 |
Date: |
Tue, 14 Jun 2022 00:56:18 -0400 (EDT) |
branch: master
commit 6fd33fbf6a4edf0b905cf1a01bb763e89b860339
Merge: f5fb969cab 73400e4002
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>
Merge from origin/emacs-28
73400e4002 Clarify what a Calc registeri in in calc-insert-register
---
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 172ccf1adc..e0ed098b70 100644
--- a/lisp/calc/calc-yank.el
+++ b/lisp/calc/calc-yank.el
@@ -303,7 +303,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)))