[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/multiple-cursors 7ff9e9a 035/434: Only store er/history wh
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/multiple-cursors 7ff9e9a 035/434: Only store er/history when it is defined. |
Date: |
Sat, 7 Aug 2021 09:19:49 -0400 (EDT) |
branch: elpa/multiple-cursors
commit 7ff9e9ad39b3f52c2ce85b2b7c4224f2414f6f36
Author: Magnar Sveen <magnars@gmail.com>
Commit: Magnar Sveen <magnars@gmail.com>
Only store er/history when it is defined.
---
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 ebca0b6..ef761e8 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)
- (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))
- (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."
- [nongnu] elpa/multiple-cursors bfb293f 200/434: Merge pull request #48 from tkf/smartrep, (continued)
- [nongnu] elpa/multiple-cursors bfb293f 200/434: Merge pull request #48 from tkf/smartrep, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors f1a5a39 197/434: Merge pull request #46 from tkf/fix-dump-list-take-2, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors b218a13 185/434: Run tests in Emacs 23, Emacs 24 and snapshot., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors a4f6ea1 205/434: Add transient-mark-mode to mc/cursor-specific-vars to fix other selections than C-SPC. Fixes #55, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 3ce6e4a 199/434: Avoid strange behavior with smartrep, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 16add89 211/434: Bugfix for sort/reverse regions w/similar contents, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 7a236d1 233/434: Add flyspell-mode to unsupported minor modes, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 6cff0c2 245/434: Add pre- & post-command-hook to be cursor specific, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 2186e1b 247/434: mc/mark-lines: Mark by logical lines., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors d3a29a2 034/434: Started working on multiple-cursor core tests., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 7ff9e9a 035/434: Only store er/history when it is defined.,
ELPA Syncer <=
- [nongnu] elpa/multiple-cursors 9875982 038/434: Add smart-forward to whitelist, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 87169c8 040/434: Clean up multiple-cursors-core, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors efd79f3 043/434: Add undo to list of known run-only-once commands., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors b60cbc3 044/434: Add support for yank-pop, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 1db643c 048/434: Add support for modes that remap commands., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 37ddaf2 053/434: Set this-command for each cursor., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors d7be50e 041/434: rectangular-region-mode, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 45488df 052/434: yank-pop is supported, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 6f9911f 054/434: Add more explanatory prose., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 466d036 063/434: Prompt for inclusion in white/black-lists when met with an unknown command, ELPA Syncer, 2021/08/07