Skip to content

Commit 079e5a0

Browse files
committed
Improve register-use-preview docstring
* lisp/register.el (register-use-preview): Improve docstring.
1 parent e476010 commit 079e5a0

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

lisp/register.el

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -131,17 +131,20 @@ to the value of `register--read-with-preview-function'.")
131131
(defcustom register-use-preview 'traditional
132132
"Whether to show register preview when modifying registers.
133133
134-
When set to t, show a preview buffer with navigation and
135-
highlighting.
136-
When set to \\='insist, behave as with t, but allow exiting the
137-
minibuffer by pressing the register name a second time. E.g.,
138-
press \"a\" to select register \"a\", then press \"a\" again to
139-
exit the minibuffer.
140-
When nil, show a preview buffer without navigation and highlighting, and
141-
exit the minibuffer immediately after inserting response in minibuffer.
142-
When set to \\='never, behave as with nil, but with no preview buffer at
134+
When set to t, show a preview buffer with navigation and highlighting.
135+
136+
When set `insist', behave as with t, but allow exiting the minibuffer by
137+
pressing the register name a second time. For example, press \\`a' to
138+
select register \"a\", then press \\`a' again to exit the minibuffer.
139+
140+
When set to nil, show a preview buffer without navigation and
141+
highlighting, and exit the minibuffer immediately after inserting
142+
response in minibuffer.
143+
144+
When set to `never', behave as with nil, but with no preview buffer at
143145
all; the preview buffer is still accessible with `help-char' (\\`C-h').
144-
When set to \\='traditional (the default), provide a more basic preview
146+
147+
When set to `traditional' (the default), provide a more basic preview
145148
according to `register-preview-delay'; this preserves the traditional
146149
behavior of Emacs 29 and before."
147150
:type '(choice

0 commit comments

Comments
 (0)