mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 13:03:03 +00:00
Use the first created cursor
This commit is contained in:
parent
e322b75297
commit
e803180932
@ -396,7 +396,7 @@ With zero ARG, skip the last one and mark next."
|
|||||||
(while (search-forward search end t)
|
(while (search-forward search end t)
|
||||||
(push-mark (match-beginning 0))
|
(push-mark (match-beginning 0))
|
||||||
(mc/create-fake-cursor-at-point))
|
(mc/create-fake-cursor-at-point))
|
||||||
(let ((first (car (mc/all-fake-cursors))))
|
(let ((first (car (last (mc/all-fake-cursors)))))
|
||||||
(if (not first)
|
(if (not first)
|
||||||
(error "Search failed for %S" search)
|
(error "Search failed for %S" search)
|
||||||
(mc/pop-state-from-overlay first)))
|
(mc/pop-state-from-overlay first)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user