[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/iedit 93b642f0a8 286/301: A few small fixes
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/iedit 93b642f0a8 286/301: A few small fixes |
Date: |
Mon, 10 Jan 2022 22:59:11 -0500 (EST) |
branch: elpa/iedit
commit 93b642f0a8a1e7c8b39e6c053083b3d053b95cc1
Author: Victor Ren <victorhge@gmail.com>
Commit: Victor <victorhge@gmail.com>
A few small fixes
---
iedit-lib.el | 6 +++---
iedit.el | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/iedit-lib.el b/iedit-lib.el
index f343e5e90b..77c724069d 100644
--- a/iedit-lib.el
+++ b/iedit-lib.el
@@ -328,7 +328,6 @@ It should be set before occurrence overlay is created.")
(defun iedit-make-occurrences-overlays (occurrence-regexp beg end)
"Create occurrence overlays for `occurrence-regexp' in a region.
Return the number of occurrences."
- (setq iedit-aborting nil)
(setq iedit-occurrences-overlays nil)
(setq iedit-read-only-occurrences-overlays nil)
(setq iedit-lib-skip-invisible-count 0)
@@ -354,8 +353,8 @@ Return the number of occurrences."
((text-property-not-all beginning ending 'read-only nil)
(push (iedit-make-read-only-occurrence-overlay beginning ending)
iedit-read-only-occurrences-overlays))
- ((not (or (eq search-invisible t)
- (not (isearch-range-invisible
beginning ending))))
+ ((and (not (eq search-invisible t))
+ (isearch-range-invisible beginning ending))
(setq iedit-lib-skip-invisible-count (1+
iedit-lib-skip-invisible-count)))
((not (funcall isearch-filter-predicate beginning
ending))
(setq iedit-lib-skip-filtered-count (1+
iedit-lib-skip-filtered-count)))
@@ -438,6 +437,7 @@ there are."
"Initialize the hooks."
(when iedit-auto-buffering
(iedit-start-buffering))
+ (setq iedit-aborting nil)
;; Enforce skip modification once, errors may happen to cause this to be
;; unset.
(setq iedit-skip-modification-once t)
diff --git a/iedit.el b/iedit.el
index 28766efaa5..b9db552037 100644
--- a/iedit.el
+++ b/iedit.el
@@ -523,7 +523,7 @@ The candidate depends on the thing at point."
(defun iedit-mark-sgml-pair ()
"Check if the cursor is on a markup tag.
If the cursor is on a markup tag, the position of the opening and
-closing markup tags are saved in `iedit-occurrence-overlays'
+closing markup tags are saved in `iedit-occurrences-overlays'
temporarily.
The code is adapted from
- [nongnu] elpa/iedit 02bad3e3b9 240/301: Fix compile warnings, (continued)
- [nongnu] elpa/iedit 02bad3e3b9 240/301: Fix compile warnings, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit abb577e447 236/301: Merge pull request #77 from EdwardBetts/spelling, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 39919478f9 230/301: fix C-R-RET key binding problem in term, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 77e1661134 246/301: Readme.org: add melpa/stable version badges, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit f566ade5e4 264/301: Workaround for slow `c-before-change', ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 64c3505d04 235/301: correct spelling mistake, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 2f0c484817 283/301: Move iedit-buffering related to `iedit-lib', ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 7e277119fc 221/301: Fix doc string for markup tag, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 50b7da10ac 251/301: Add option `iedit-auto-buffering`, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 3211c2ee6c 228/301: Merge branch 'master' of github.com:victorhge/iedit, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 93b642f0a8 286/301: A few small fixes,
ELPA Syncer <=
- [nongnu] elpa/iedit 02b4a6553e 243/301: Add the index of the current occurrence on mode-line, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 06e600aae2 222/301: Fix: use return value of iedit-default-occurrence-mode-local, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit abcc27a9f0 231/301: Add Installation instruction, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 8b620efacb 262/301: Replace `inhibit-modification-hooks' with `iedit-updating', ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 6d2694356c 253/301: Move "declare-function" invocations outside of "when" statement., ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit f6682186f0 242/301: Replace eval-after-load with require check, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 14376a97e0 223/301: Ignore error in `iedit-mark-sgml-pair', ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 9fd1b43170 229/301: Fix failed test cases for Emacs 25.1, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 658c10a249 244/301: fix issue of iedit-restrict-function doesn't update mode-line text correctly, ELPA Syncer, 2022/01/10
- [nongnu] elpa/iedit 06f1f50939 224/301: Merge pull request #65 from pstray/master, ELPA Syncer, 2022/01/10