Check use-region-p rather than mark-active to better support

transient-mark-mode disabled
This commit is contained in:
Gene Goykhman
2026-03-14 23:33:55 -04:00
committed by Magnar Sveen
parent ddd677091a
commit 47c27f1e19
+1 -1
View File
@@ -65,7 +65,7 @@
furthest)) furthest))
(defun mc/furthest-cursor-after-point () (defun mc/furthest-cursor-after-point ()
(let ((end (if mark-active (max (mark) (point)) (point))) (let ((end (if (use-region-p) (use-region-end) (point)))
furthest) furthest)
(mc/for-each-fake-cursor (mc/for-each-fake-cursor
(when (> (mc/cursor-end cursor) end) (when (> (mc/cursor-end cursor) end)