[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/multiple-cursors 46635e7f69 2/2: Merge pull request #386 f
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/multiple-cursors 46635e7f69 2/2: Merge pull request #386 from AjaiKN/symbol-value |
Date: |
Sun, 1 Dec 2024 16:00:27 -0500 (EST) |
branch: elpa/multiple-cursors
commit 46635e7f693560213b56ca8eca1adb13559672e5
Merge: c870c18462 e315120117
Author: Magnar Sveen <magnars@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #386 from AjaiKN/symbol-value
Use symbol-value instead of eval
---
multiple-cursors-core.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/multiple-cursors-core.el b/multiple-cursors-core.el
index ead1ed3b8b..2ce92ac18d 100644
--- a/multiple-cursors-core.el
+++ b/multiple-cursors-core.el
@@ -743,7 +743,7 @@ They are temporarily disabled when multiple-cursors are
active.")
(defun mc/temporarily-disable-minor-mode (mode)
"If MODE is available and turned on, remember that and turn it off."
- (when (and (boundp mode) (eval mode))
+ (when (and (boundp mode) (symbol-value mode))
(add-to-list 'mc/temporarily-disabled-minor-modes mode)
(funcall mode -1)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/multiple-cursors 46635e7f69 2/2: Merge pull request #386 from AjaiKN/symbol-value,
ELPA Syncer <=