aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2022-06-13 17:14:08 +0200
committerLars Ingebrigtsen2022-06-13 17:14:17 +0200
commit73400e4002ce8fca060093548e6791b3a784eeaa (patch)
tree9826b874632783dc29cfd585a3cd930aaa561aba
parentd6f080d3de716fbaf790774aa1ceee1d00bff798 (diff)
downloademacs-73400e4002ce8fca060093548e6791b3a784eeaa.tar.gz
emacs-73400e4002ce8fca060093548e6791b3a784eeaa.zip
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).
-rw-r--r--lisp/calc/calc-yank.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/calc/calc-yank.el b/lisp/calc/calc-yank.el
index 8c6d3f51e5d..189ee0a2444 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'."
301(defun calc-insert-register (register) 301(defun calc-insert-register (register)
302 "Insert the contents of register REGISTER. 302 "Insert the contents of register REGISTER.
303 303
304Interactively, reads the register using `register-read-with-preview'." 304Interactively, reads the register using `register-read-with-preview'.
305
306Note that this command only works with Calc registers, and they
307have nothing to do with the Emacs-wide register mechanism."
305 (interactive (list (register-read-with-preview "Insert register: "))) 308 (interactive (list (register-read-with-preview "Insert register: ")))
306 (if (eq major-mode 'calc-mode) 309 (if (eq major-mode 'calc-mode)
307 (let ((val (calc-get-register register))) 310 (let ((val (calc-get-register register)))