[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/multiple-cursors c945665 399/434: Merge pull request #294
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/multiple-cursors c945665 399/434: Merge pull request #294 from nispio/fix-293 |
Date: |
Sat, 7 Aug 2021 09:21:08 -0400 (EDT) |
branch: elpa/multiple-cursors
commit c94566597a80c07a1782a75644fe1a2ca4f29bad
Merge: ddbe3ae 7cb18b8
Author: Josh Hunsaker <josh+git@nispio.net>
Commit: GitHub <noreply@github.com>
Merge pull request #294 from nispio/fix-293
Fix bug in mc/mark-all-in-region-regexp. Fixes #293
---
mc-mark-more.el | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/mc-mark-more.el b/mc-mark-more.el
index 27a84b7..2ab7ec7 100644
--- a/mc-mark-more.el
+++ b/mc-mark-more.el
@@ -423,16 +423,13 @@ With zero ARG, skip the last one and mark next."
(setq lastmatch (point))
(when (= (point) (match-beginning 0))
(forward-char)))
- (when lastmatch (goto-char lastmatch)))
- (when (> (mc/num-cursors) 0)
- (goto-char (match-end 0)))
- (let ((first (mc/furthest-cursor-before-point)))
- (if (not first)
- (error "Search failed for %S" search)
- (mc/pop-state-from-overlay first)))
- (if (> (mc/num-cursors) 1)
- (multiple-cursors-mode 1)
- (multiple-cursors-mode 0))))))
+ (unless lastmatch
+ (error "Search failed for %S" search)))
+ (goto-char (match-end 0))
+ (if (< (mc/num-cursors) 3)
+ (multiple-cursors-mode 0)
+ (mc/pop-state-from-overlay (mc/furthest-cursor-before-point))
+ (multiple-cursors-mode 1))))))
(when (not (fboundp 'set-temporary-overlay-map))
;; Backport this function from newer emacs versions
- [nongnu] elpa/multiple-cursors b46f795 314/434: Fix style issues, (continued)
- [nongnu] elpa/multiple-cursors b46f795 314/434: Fix style issues, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors faf331d 334/434: Merge pull request #183 from grettke/patch-1, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 5d677f7 341/434: Unrevert "Support unmarking with no region. Change mc/mark-lines to preserve point.", ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 97e5db1 346/434: Merge pull request #207 from vermiculus/master, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 55af659 354/434: Speedup mc--numbers-to-letters, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 97da977 141/434: Intercept some reading commands, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors da069c8 366/434: Merge pull request #236 from jtamagnan/insert_letters_fix, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 432a3fc 370/434: Merge pull request #250 from nispio/mark-lines-allows-skip, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors a508978 376/434: Add /.ecukes-failing-scenarios to gitignore, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors d9a6047 384/434: Fix mc/cursor-is-bar as per @cpitclaudel, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors c945665 399/434: Merge pull request #294 from nispio/fix-293,
ELPA Syncer <=
- [nongnu] elpa/multiple-cursors eba1020 409/434: Add temporary-goal-column to mc/cursor-specific-vars, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 35ff8b5 412/434: Add customization group definition, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors a730c41 423/434: Update README.md, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 5ffb19a 424/434: Update README.md, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors cb93501 432/434: Minor backward compatibility fix to remove warning, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors f4d5aea 147/434: Sort before saving list in mc/save-lists, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors bb546b1 166/434: Display number of cursors in mode-line, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 796fb64 165/434: Added segv to contributors list, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors a6e0ccb 215/434: mc/add-cursor-on-click should not run per cursor, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 717c97e 181/434: Added Fuco to list of contributors, ELPA Syncer, 2021/08/07