diff options
| -rw-r--r-- | evil-core.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-core.el b/evil-core.el index 15ca2f3..62ec6ab 100644 --- a/evil-core.el +++ b/evil-core.el @@ -372,7 +372,7 @@ then this function does nothing." (when (get-buffer (ad-get-arg 1)) (with-current-buffer (ad-get-arg 1) (unless evil-local-mode - (evil-local-mode 1)))))) + (save-match-data (evil-local-mode 1))))))) ;; Refresh cursor color. ;; Cursor color can only be set for each frame but not for each buffer. |
