From 2186e1b6e541924f914efdb824563ab979e4818c Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Thu, 1 Aug 2013 17:00:03 +0900 Subject: [PATCH] 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