[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/undo-fu 374a62cba0 08/82: Disable undo-in-region support
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/undo-fu 374a62cba0 08/82: Disable undo-in-region support |
Date: |
Thu, 7 Jul 2022 12:04:47 -0400 (EDT) |
branch: elpa/undo-fu
commit 374a62cba027cd0b8e13323d91ba61481d4f88d3
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Disable undo-in-region support
Workaround for report #3.
The report contains a suggestion for working around this,
however this needs to be tested, so disable support for now.
---
readme.rst | 6 ++++++
undo-fu.el | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/readme.rst b/readme.rst
index d408a79ed2..0376a89ff5 100644
--- a/readme.rst
+++ b/readme.rst
@@ -75,6 +75,12 @@ Details
until a new chain of undo/redo events is started.
+Limitations
+===========
+
+The feature ``undo-in-region`` is currently unsupported.
+
+
Installation
============
diff --git a/undo-fu.el b/undo-fu.el
index f807ab82b9..6320638896 100644
--- a/undo-fu.el
+++ b/undo-fu.el
@@ -173,6 +173,9 @@ Optional argument ARG The number of steps to redo."
(success
(condition-case err
(progn
+ ;; 'undo-in-region' unsupported.
+ (when transient-mark-mode
+ (deactivate-mark))
(undo steps)
t)
(error (message "%s" (error-message-string err))))))
@@ -223,6 +226,9 @@ Optional argument ARG the number of steps to undo."
(success
(condition-case err
(progn
+ ;; 'undo-in-region' unsupported.
+ (when transient-mark-mode
+ (deactivate-mark))
(undo-only steps)
t)
(error (message "%s" (error-message-string err))))))
- [nongnu] elpa/undo-fu afa5685743 39/82: Cleanup: minor improvements to comments and error strings, (continued)
- [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, 2022/07/07
- [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 <=
- [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
- [nongnu] elpa/undo-fu 6f876014dc 14/82: Cleanup: complete doc string for message override macro, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 769789d742 17/82: Add autoload cookie, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu c5bb7b0402 22/82: Evil Mode: mark undo commands not to repeat, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu fd2e9952f9 31/82: Merge branch 'compiler-warnings' into 'master', ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu c2be4ae43e 41/82: Cleanup: blank lines, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu d03de12298 44/82: Cleanup: use the term 'checkpoint' instead of 'end-point', ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 2cba1903f3 45/82: Cleanup: improve 'undo-fu-disable-checkpoint' messages, ELPA Syncer, 2022/07/07
- [nongnu] elpa/undo-fu 32674fc7b0 47/82: Release 0.3, ELPA Syncer, 2022/07/07