|
From: | ELPA Syncer |
Subject: | [nongnu] elpa/multiple-cursors 18d858f 272/434: Fall straight through in 'mc/mark-all-dwim' if multiple cursors are already active, as that means we can't sensibly edit lines or mark all in region |
Date: | Sat, 7 Aug 2021 09:20:41 -0400 (EDT) |
branch: elpa/multiple-cursors commit 18d858f0de1141b5b1864bf4f27bd9647bea1ee0 Author: Maciej Katafiasz <mathrick@gmail.com> Commit: Maciej Katafiasz <mathrick@gmail.com> Fall straight through in 'mc/mark-all-dwim' if multiple cursors are already active, as that means we can't sensibly edit lines or mark all in region --- mc-mark-more.el | 1 + 1 file changed, 1 insertion(+) diff --git a/mc-mark-more.el b/mc-mark-more.el index 02afcab..e07b360 100644 --- a/mc-mark-more.el +++ b/mc-mark-more.el @@ -427,6 +427,7 @@ If the region is inactive or on a single line, it will behave like `mc/mark-all-like-this-dwim'." (interactive "P") (if (and (use-region-p) + (not (> (mc/num-cursors) 0)) (not (= (line-number-at-pos (region-beginning)) (line-number-at-pos (region-end))))) (if arg
[Prev in Thread] | Current Thread | [Next in Thread] |