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

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

[nongnu] elpa/multiple-cursors 2186e1b 247/434: mc/mark-lines: Mark by l


From: ELPA Syncer
Subject: [nongnu] elpa/multiple-cursors 2186e1b 247/434: mc/mark-lines: Mark by logical lines.
Date: Sat, 7 Aug 2021 09:20:35 -0400 (EDT)

branch: elpa/multiple-cursors
commit 2186e1b6e541924f914efdb824563ab979e4818c
Author: Akinori MUSHA <knu@idaemons.org>
Commit: Akinori MUSHA <knu@idaemons.org>

    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]