mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-14 05:13:05 +00:00
Always call mark
with mark-even-if-inactive
set to t
This commit is contained in:
parent
1075270008
commit
f628df72a1
@ -154,7 +154,9 @@ highlights the entire width of the window."
|
|||||||
(defun mc/store-current-state-in-overlay (o)
|
(defun mc/store-current-state-in-overlay (o)
|
||||||
"Store relevant info about point and mark in the given overlay."
|
"Store relevant info about point and mark in the given overlay."
|
||||||
(overlay-put o 'point (set-marker (make-marker) (point)))
|
(overlay-put o 'point (set-marker (make-marker) (point)))
|
||||||
(overlay-put o 'mark (set-marker (make-marker) (mark)))
|
(overlay-put o 'mark (set-marker (make-marker)
|
||||||
|
(let ((mark-even-if-inactive t))
|
||||||
|
(mark))))
|
||||||
(dolist (var mc/cursor-specific-vars)
|
(dolist (var mc/cursor-specific-vars)
|
||||||
(when (boundp var) (overlay-put o var (symbol-value var))))
|
(when (boundp var) (overlay-put o var (symbol-value var))))
|
||||||
o)
|
o)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user