[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/iedit 50748a5694 160/301: ensure iedit-skip-modification-o
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/iedit 50748a5694 160/301: ensure iedit-skip-modification-once is t in case of errors |
Date: |
Mon, 10 Jan 2022 22:58:59 -0500 (EST) |
branch: elpa/iedit
commit 50748a5694e2a9b2aff0b8a4ada7965648208430
Author: Le Wang <le.wang@agworld.com.au>
Commit: Le Wang <le.wang@agworld.com.au>
ensure iedit-skip-modification-once is t in case of errors
---
iedit-rect.el | 4 ++++
iedit.el | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/iedit-rect.el b/iedit-rect.el
index e51032fc8c..dd5f2b204a 100644
--- a/iedit-rect.el
+++ b/iedit-rect.el
@@ -93,6 +93,10 @@ Commands:
(interactive (when (iedit-region-active)
(list (region-beginning)
(region-end))))
+
+ ;; enforce skip modification once, errors may happen to cause this to be
+ ;; unset.
+ (setq iedit-skip-modification-once t)
(if iedit-rectangle-mode
(iedit-rectangle-done)
(iedit-barf-if-lib-active)
diff --git a/iedit.el b/iedit.el
index ebc8ffaeda..dc4acf50fc 100644
--- a/iedit.el
+++ b/iedit.el
@@ -375,6 +375,10 @@ Keymap used within overlays:
(defun iedit-start (occurrence-regexp beg end)
"Start Iedit mode for the `occurrence-regexp' in the current buffer."
+
+ ;; enforce skip modification once, errors may happen to cause this to be
+ ;; unset.
+ (setq iedit-skip-modification-once t)
(setq iedit-unmatched-lines-invisible
iedit-unmatched-lines-invisible-default)
(setq iedit-initial-region (list beg end))
(iedit-start2 occurrence-regexp beg end)
- [nongnu] elpa/iedit 9d03d5d44e 186/301: Merge branch 'incremental-select', (continued)
- [nongnu] elpa/iedit 9d03d5d44e 186/301: Merge branch 'incremental-select', ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit acb9fa54f3 152/301: Fix the testcase for iedit-hide-unmatched-lines, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 6c6522c7e9 177/301: Minor bugfix: `help-char' need not be acceptable to `char-to-string'., ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 4d50a08dd6 134/301: Add parameter back to iedit-mode-from-isearch, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit d7d5931566 127/301: Fix the arguments for after-change-functions, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 64a7905949 138/301: Rewrite iedit-hide-unmatched-lines, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit bceb12e17b 139/301: Do not jump to the first occurrence after iedit-restrict-region, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 8eb9caaa94 132/301: use real buffer for testing to ease debugging, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 8149b66ce6 140/301: Read-only text handling, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 52a7ead70c 135/301: Fix comiler error for extra ")", ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 50748a5694 160/301: ensure iedit-skip-modification-once is t in case of errors,
ELPA Syncer <=
- [nongnu] elpa/iedit 060b359afc 142/301: Merge branch 'master' of github.com:victorhge/iedit, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 70e6d370fb 194/301: Merge branch 'master' of github.com:victorhge/iedit, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 30db1d2ba1 191/301: Remove the key binding to M-[, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 3fae24471f 129/301: fix tests to call iedit-rectangle-mode interactively, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit dbe9e4478b 174/301: Merge pull request #41 from Vifon/iedit-replace-occurrences_default-value, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit c742ae4fa6 196/301: Exit iedit when there is no occurrence, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 46d5f65019 154/301: clean up old occurrences when calling from isearch, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit c55fcd5bac 189/301: avoid error if iedit-toggle-key-default already bound to iedit-mode, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit adb0d2e92d 179/301: Expand to next occurence ("incremental select"), ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit d25b655768 207/301: Merge branch 'master' of github.com:victorhge/iedit, ELPA Syncer, 2022/01/10