emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-30 079e5a03156 2/3: Improve register-use-preview docstring


From: Stefan Kangas
Subject: emacs-30 079e5a03156 2/3: Improve register-use-preview docstring
Date: Sat, 20 Jul 2024 01:46:59 -0400 (EDT)

branch: emacs-30
commit 079e5a03156f7461d1c8f008663404277cac9ade
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    Improve register-use-preview docstring
    
    * lisp/register.el (register-use-preview): Improve docstring.
---
 lisp/register.el | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/lisp/register.el b/lisp/register.el
index df00c9dc24f..497848ded1e 100644
--- a/lisp/register.el
+++ b/lisp/register.el
@@ -131,17 +131,20 @@ to the value of `register--read-with-preview-function'.")
 (defcustom register-use-preview 'traditional
   "Whether to show register preview when modifying registers.
 
-When set to t, show a preview buffer with navigation and
-highlighting.
-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
+When set to t, show a preview buffer with navigation and highlighting.
+
+When set `insist', behave as with t, but allow exiting the minibuffer by
+pressing the register name a second time.  For example, press \\`a' to
+select register \"a\", then press \\`a' again to exit the minibuffer.
+
+When set to 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
 all; the preview buffer is still accessible with `help-char' (\\`C-h').
-When set to \\='traditional (the default), provide a more basic preview
+
+When set to `traditional' (the default), provide a more basic preview
 according to `register-preview-delay'; this preserves the traditional
 behavior of Emacs 29 and before."
   :type '(choice



reply via email to

[Prev in Thread] Current Thread [Next in Thread]