emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/multiple-cursors 398cc9e 251/434: Merge pull request #92 f


From: ELPA Syncer
Subject: [nongnu] elpa/multiple-cursors 398cc9e 251/434: Merge pull request #92 from knu/mark_by_logical_lines
Date: Sat, 7 Aug 2021 09:20:36 -0400 (EDT)

branch: elpa/multiple-cursors
commit 398cc9e46600ab581cf29ae7b2b097c9178df999
Merge: 6745142 2186e1b
Author: Magnar Sveen <magnars@gmail.com>
Commit: Magnar Sveen <magnars@gmail.com>

    Merge pull request #92 from knu/mark_by_logical_lines
    
    mc/mark-lines: Mark by logical lines.
---
 mc-mark-more.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mc-mark-more.el b/mc-mark-more.el
index 3368474..7e240a1 100644
--- a/mc-mark-more.el
+++ b/mc-mark-more.el
@@ -173,9 +173,9 @@ With zero ARG, skip the last one and mark next."
   (dotimes (i num-lines)
     (mc/create-fake-cursor-at-point)
     (ecase direction
-      (forwards (loop do (next-line 1 nil)
+      (forwards (loop do (next-logical-line 1 nil)
                       while (mc/all-fake-cursors (point) (1+ (point)))))
-      (backwards (loop do (previous-line 1 nil)
+      (backwards (loop do (previous-logical-line 1 nil)
                        while (mc/all-fake-cursors (point) (1+ (point))))))))
 
 ;;;###autoload



reply via email to

[Prev in Thread] Current Thread [Next in Thread]