Derp, multiple cursors means > 1, not > 0.

This commit is contained in:
Maciej Katafiasz 2013-09-06 19:44:31 +02:00
parent ad79ad8b52
commit ec4781394c

View File

@ -427,7 +427,7 @@ If the region is inactive or on a single line, it will behave like
`mc/mark-all-like-this-dwim'." `mc/mark-all-like-this-dwim'."
(interactive "P") (interactive "P")
(if (and (use-region-p) (if (and (use-region-p)
(not (> (mc/num-cursors) 0)) (not (> (mc/num-cursors) 1))
(not (= (line-number-at-pos (region-beginning)) (not (= (line-number-at-pos (region-beginning))
(line-number-at-pos (region-end))))) (line-number-at-pos (region-end)))))
(if arg (if arg