emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/multiple-cursors 75581da 037/434: Fix bug with expand-regi


From: ELPA Syncer
Subject: [nongnu] elpa/multiple-cursors 75581da 037/434: Fix bug with expand-region dependency.
Date: Sat, 7 Aug 2021 09:19:50 -0400 (EDT)

branch: elpa/multiple-cursors
commit 75581da0d3bafce465dfd7fe2c293ec0a925b6df
Author: Magnar Sveen <magnars@gmail.com>
Commit: Magnar Sveen <magnars@gmail.com>

    Fix bug with expand-region dependency.
---
 multiple-cursors-core.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/multiple-cursors-core.el b/multiple-cursors-core.el
index ef761e8..4204304 100644
--- a/multiple-cursors-core.el
+++ b/multiple-cursors-core.el
@@ -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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]