mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 13:03:03 +00:00
Fix bug with expand-region dependency.
This commit is contained in:
parent
07a441121a
commit
75581da0d3
@ -42,7 +42,7 @@ highlights the entire width of the window."
|
||||
(overlay-put o 'mark (set-marker (make-marker) (mark)))
|
||||
(overlay-put o 'mark-ring mark-ring)
|
||||
(overlay-put o 'mark-active mark-active)
|
||||
(when (boundp er/history) (overlay-put o 'er/history er/history))
|
||||
(when (boundp 'er/history) (overlay-put o 'er/history er/history))
|
||||
o)
|
||||
|
||||
(defun mc/restore-state-from-overlay (o)
|
||||
@ -52,7 +52,7 @@ highlights the entire width of the window."
|
||||
(set-marker (mark-marker) (overlay-get o 'mark))
|
||||
(setq mark-ring (overlay-get o 'mark-ring))
|
||||
(setq mark-active (overlay-get o 'mark-active))
|
||||
(when (boundp er/history) (setq er/history (overlay-get o 'er/history))))
|
||||
(when (boundp 'er/history) (setq er/history (overlay-get o 'er/history))))
|
||||
|
||||
(defun mc/clean-up-state-overlay (o)
|
||||
"Delete overlay with state, including dependent overlays and markers."
|
||||
|
Loading…
x
Reference in New Issue
Block a user