emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/undo-fu ab8bc10e42 72/82: Cleanup: minor wording changes


From: ELPA Syncer
Subject: [nongnu] elpa/undo-fu ab8bc10e42 72/82: Cleanup: minor wording changes
Date: Thu, 7 Jul 2022 12:04:55 -0400 (EDT)

branch: elpa/undo-fu
commit ab8bc10e424bccc847800c31ab41888db789d55d
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Cleanup: minor wording changes
---
 readme.rst | 7 +++----
 undo-fu.el | 5 ++---
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/readme.rst b/readme.rst
index c71203186c..9732f98364 100644
--- a/readme.rst
+++ b/readme.rst
@@ -66,13 +66,12 @@ Key binding example for typical ``Ctrl-Z``, 
``Ctrl-Shift-Z`` keys:
 Customization
 -------------
 
-``undo-fu-allow-undo-in-region``
+``undo-fu-allow-undo-in-region`` (``nil``)
    This option exists for users who prefer to trade-off undo/redo functionality
    with the ability to limit undo to a region.
 
-   When this boolean is ``t``, undoing with a selection
-   will use undo within this region.
-``undo-fu-ignore-keyboard-quit``
+   When non-nil, undoing with a selection will use undo within this region.
+``undo-fu-ignore-keyboard-quit`` (``nil``)
    Don't use ``Ctrl-G`` (``keyboard-quit``) for non-linear behavior,
    instead, use the ``undo-fu-disable-checkpoint`` command.
 
diff --git a/undo-fu.el b/undo-fu.el
index ffd7f9b02d..3081dc4ef7 100644
--- a/undo-fu.el
+++ b/undo-fu.el
@@ -53,13 +53,13 @@
 (defgroup undo-fu nil "Configure default behavior for undo-fu wrapper." :group 
'undo)
 
 (defcustom undo-fu-allow-undo-in-region nil
-  "When t, use `undo-in-region' when a selection is present.
+  "When non-nil, use `undo-in-region' when a selection is present.
 Otherwise `undo-in-region' is never used, since it doesn't support `undo-only',
 causing undo-fu to work with reduced functionality when a selection exists."
   :type 'boolean)
 
 (defcustom undo-fu-ignore-keyboard-quit nil
-  "When t, don't use `keyboard-quit' to disable linear undo/redo behavior.
+  "When non-nil, don't use `keyboard-quit' to disable linear undo/redo 
behavior.
 
 Instead, explicitly call `undo-fu-disable-checkpoint'."
   :type 'boolean)
@@ -420,5 +420,4 @@ Optional argument ARG the number of steps to undo."
   '(nconc aggressive-indent-protected-commands undo-fu--commands))
 
 (provide 'undo-fu)
-
 ;;; undo-fu.el ends here



reply via email to

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