[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master d36c370ce55 2/2: ; Minor improvements of last change
From: |
Eli Zaretskii |
Subject: |
master d36c370ce55 2/2: ; Minor improvements of last change |
Date: |
Sat, 27 Jan 2024 05:53:43 -0500 (EST) |
branch: master
commit d36c370ce555849d3d19f25999998230361cc828
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; Minor improvements of last change
* lisp/register.el (register-use-preview): Doc fix.
* doc/emacs/regs.texi (Registers): Fix wording. (Bug#68654)
---
doc/emacs/regs.texi | 6 +++---
lisp/register.el | 9 +++++----
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/doc/emacs/regs.texi b/doc/emacs/regs.texi
index c30bcc37999..cac5b32c566 100644
--- a/doc/emacs/regs.texi
+++ b/doc/emacs/regs.texi
@@ -72,9 +72,9 @@ inserted into the buffer, omitting registers which hold window
configurations, positions, and other un-insertable values.
@item insist
-This value is like @code{t}, but in addition of pressing @key{RET} to
-exit with the choosen value, you can press the same key as the name of
-register.
+This value is like @code{t}, but in addition you can press the same
+key as the name of register one more time to exit the minibuffer,
+instead of pressing @key{RET}.
@item nil
This value requests behavior similar to @code{traditional}, but the
diff --git a/lisp/register.el b/lisp/register.el
index 73d1b24b231..822467a0d72 100644
--- a/lisp/register.el
+++ b/lisp/register.el
@@ -133,9 +133,10 @@ to the value of `register--read-with-preview-function'.")
When set to `t', show a preview buffer with navigation and
highlighting.
-When set to \\='insist behave as with `t' but allow exiting minibuffer
-by pressing a second time the selected register, e.g pressing \"a\"
-select register \"a\" and pressing again \"a\" exit minibuffer.
+When set to \\='insist, behave as with `t', but allow exiting the
+minibuffer by pressing the register name a second time. E.g.,
+press \"a\" to select register \"a\", then press \"a\" again to
+exit the minibuffer.
When nil, show a preview buffer without navigation and highlighting, and
exit the minibuffer immediately after inserting response in minibuffer.
When set to \\='never, behave as with nil, but with no preview buffer at
@@ -145,7 +146,7 @@ according to `register-preview-delay'; this preserves the
traditional
behavior of Emacs 29 and before."
:type '(choice
(const :tag "Use preview" t)
- (const :tag "Use preview and exit on second hit" insist)
+ (const :tag "Use preview and exit by pressing register name" insist)
(const :tag "Use quick preview" nil)
(const :tag "Never use preview" never)
(const :tag "Basic preview like Emacs-29" traditional))