Adding support for using mc/edit-lines without transient mark mode.

This commit is contained in:
Eyal Erez
2013-01-22 15:30:01 -05:00
parent 9a376a6fa2
commit 6a5969e14a
2 changed files with 14 additions and 1 deletions

View File

@@ -35,7 +35,7 @@
Starts from mark and moves in straight down or up towards the
line point is on."
(interactive)
(when (not (use-region-p))
(when (not (and mark-active (/= (point) (mark))))
(error "Mark a set of lines first."))
(mc/remove-fake-cursors)
(let* ((col (current-column))