From 6157b3dde2c56f734a0789225240c521acdf2c7c Mon Sep 17 00:00:00 2001 From: Eric Dallo Date: Sat, 23 Oct 2021 17:09:41 -0300 Subject: [PATCH] Fix evil-multiedit breaking change https://github.com/hlissner/evil-multiedit/issues/39\#issuecomment-950194708 Discussion on https://github.com/hlissner/evil-multiedit/issues/39 --- lsp-iedit.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lsp-iedit.el b/lsp-iedit.el index d8fb40b2e79..55ae0a94a65 100644 --- a/lsp-iedit.el +++ b/lsp-iedit.el @@ -30,7 +30,7 @@ (declare-function iedit-start-buffering "iedit-lib" ()) (declare-function iedit-lib-start "iedit-lib" (mode-exit-func)) (declare-function iedit-done "iedit" ()) -(declare-function evil-multiedit-state "evil-multiedit" ()) +(declare-function evil-multiedit-mode "evil-multiedit" (mode)) (declare-function evil-iedit-state "evil-iedit-state" ()) (defvar iedit-mode) @@ -111,7 +111,7 @@ See also `lsp-enable-symbol-highlighting'." (when (fboundp 'ahs-clear) (ahs-clear)) (setq evil-multiedit--dont-recall t) (lsp-iedit-highlights) - (evil-multiedit-state)) + (evil-multiedit-mode +1)) ;;;###autoload (defun lsp-evil-multiedit-linked-ranges () @@ -121,7 +121,7 @@ See also `lsp-enable-symbol-highlighting'." (when (fboundp 'ahs-clear) (ahs-clear)) (setq evil-multiedit--dont-recall t) (lsp-iedit-linked-ranges) - (evil-multiedit-state)) + (evil-multiedit-mode +1)) ;; evil-evil-state