[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/multiple-cursors c90bb62 339/434: Changed mc/furthest-curs
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/multiple-cursors c90bb62 339/434: Changed mc/furthest-cursor-after(before)-point to check if mark is active. |
Date: |
Sat, 7 Aug 2021 09:20:55 -0400 (EDT) |
branch: elpa/multiple-cursors
commit c90bb624dbd0e7005afafd5ae7fec2602fccb1ec
Author: Justin Dove <dove@mit.edu>
Commit: Justin Dove <dove@mit.edu>
Changed mc/furthest-cursor-after(before)-point to check if mark is active.
---
mc-mark-more.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/mc-mark-more.el b/mc-mark-more.el
index eed0035..0069dd3 100644
--- a/mc-mark-more.el
+++ b/mc-mark-more.el
@@ -55,8 +55,8 @@
beg))
(defun mc/furthest-cursor-before-point ()
- (let ((beg (min (mark) (point)))
- furthest)
+ (let ((beg (if mark-active (min (mark) (point)) (point)))
+ furthest)
(mc/for-each-fake-cursor
(when (< (mc/cursor-beg cursor) beg)
(setq beg (mc/cursor-beg cursor))
@@ -64,8 +64,8 @@
furthest))
(defun mc/furthest-cursor-after-point ()
- (let ((end (max (mark) (point)))
- furthest)
+ (let ((end (if mark-active (max (mark) (point)) (point)))
+ furthest)
(mc/for-each-fake-cursor
(when (> (mc/cursor-end cursor) end)
(setq end (mc/cursor-end cursor))
- [nongnu] elpa/multiple-cursors 238fb97 291/434: Add edge case scenarios which test behavior of mc/cycle-forward and mc/cycle-backward, (continued)
- [nongnu] elpa/multiple-cursors 238fb97 291/434: Add edge case scenarios which test behavior of mc/cycle-forward and mc/cycle-backward, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 7b4dd88 295/434: Merge pull request #129 from jistr/readme_typo, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors bf9e8e9 309/434: Added testcase for mc-hide-unmatched-lines-mode, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 7156651 313/434: fixed documentation, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 19f842d 318/434: Undo after leaving mc mode will restore cursors as they was, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 40b1bad 319/434: Merge pull request #169 from lexa/master, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 82586a0 321/434: Consolidate contributor entries for Aleksey, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 7d84398 327/434: Add missing require to mc-hide-unmatched-lines-mode, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors cec48cc 328/434: Merge pull request #188 from iqbalansari/master, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 66b1127 336/434: Merge pull request #192 from uk-ar/add_search_word, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors c90bb62 339/434: Changed mc/furthest-cursor-after(before)-point to check if mark is active.,
ELPA Syncer <=
- [nongnu] elpa/multiple-cursors cd967e7 343/434: Small optimization, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 8703b19 350/434: Add mark-next-like-this-symbol function, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 415e29f 352/434: Add @jtamagnan to contributors list, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 1686630 369/434: try to implement blacklist, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors d26cecd 381/434: added always-run-for-all, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 8e59a8a 390/434: Merge pull request #262 from AndreaOrru/master, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors fa91dfb 397/434: Don't display message while loading mc/list-file, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 6f183a1 405/434: Merge pull request #304 from angadgill92/master, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 18f992b 403/434: Merge pull request #290 from raxod502/feat/silent-load, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 75dd6bf 413/434: Merge pull request #327 from notetiene/master, ELPA Syncer, 2021/08/07