branch: elpa/multiple-cursors commit 398cc9e46600ab581cf29ae7b2b097c9178df999 Merge: 6745142 2186e1b Author: Magnar Sveen <magn...@gmail.com> Commit: Magnar Sveen <magn...@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