mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 13:03:03 +00:00
Merge pull request #386 from AjaiKN/symbol-value
Use symbol-value instead of eval
This commit is contained in:
commit
46635e7f69
@ -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)))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user