[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/undo-fu ea41b40601 54/82: Use 'undo' instead of 'undo-only
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/undo-fu ea41b40601 54/82: Use 'undo' instead of 'undo-only' when unconstrained mode is in use |
Date: |
Thu, 7 Jul 2022 12:04:53 -0400 (EDT) |
branch: elpa/undo-fu
commit ea41b40601e44409a0e1ee138fab628952cdae4c
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Use 'undo' instead of 'undo-only' when unconstrained mode is in use
---
changelog.rst | 2 ++
undo-fu.el | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/changelog.rst b/changelog.rst
index 0bd9d09ece..bf33687479 100644
--- a/changelog.rst
+++ b/changelog.rst
@@ -5,6 +5,8 @@ Change Log
- In development
+ - Undo in *unconstrained* mode no longer uses ``undo-only``,
+ matching redo behavior.
- Raise an error when using undo commands when undo has been disabled for
the buffer.
*(was failing to set the checkpoint in this case).*
diff --git a/undo-fu.el b/undo-fu.el
index 7ee70aec8d..a9ded87138 100644
--- a/undo-fu.el
+++ b/undo-fu.el
@@ -406,7 +406,7 @@ Optional argument ARG the number of steps to undo."
(if undo-fu--respect
""
" (unconstrained)")
- (if undo-fu--in-region
+ (if (or (not undo-fu--respect) undo-fu--in-region)
(undo steps)
(undo-only steps)))
t)
- [nongnu] elpa/undo-fu 1d60424680 50/82: Raise error when using undo-fu commands when undo has been disabled, (continued)
- [nongnu] elpa/undo-fu 1d60424680 50/82: Raise error when using undo-fu commands when undo has been disabled, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 06b52a11d9 69/82: Cleanup: replace 'if' with 'cond', ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 3ae95e60f6 65/82: Update readme example, remove call to disable undo-tree, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 3957d8d188 79/82: Cleanup: replace member with memq, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu fdd806d95c 13/82: Cleanup: make a function to disable the checkpoint, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu ed5af4d0ff 18/82: Merge branch 'add-autoload-cookie' into 'master', ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 61d6cda0a0 35/82: Cleanup: add checkpoint set/clear functions, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu e3e6750c95 37/82: readme: update to reference other packages, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu afa5685743 39/82: Cleanup: minor improvements to comments and error strings, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu d5dd79c454 40/82: readme: add link to melpa, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu ea41b40601 54/82: Use 'undo' instead of 'undo-only' when unconstrained mode is in use,
ELPA Syncer <=
- [nongnu] elpa/undo-fu 7fc9505561 61/82: Update evil-mode section in readme, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 8c461a00a0 51/82: Cleanup: comments, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 34b27c01da 66/82: Cleanup: use constant instead of local-variable for command list, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 7ec3cc558e 68/82: Cleanup: use defgroup, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 71c474e29f 71/82: Cleanup: docstring, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu a2241d3b52 76/82: Cleanup: simplify unconstrained undo checks, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu d26b64530a 02/82: Support undo/redo multiple times, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 374a62cba0 08/82: Disable undo-in-region support, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu be82f88630 07/82: Add installation section, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 9cc8c64f16 12/82: Merge branch 'patch-1' into 'master', ELPA Syncer, 2022/07/07