summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebian Emacs addons team <pkg-emacsen-addons@lists.alioth.debian.org>2018-06-02 20:49:40 -0300
committerDavid Bremner <bremner@debian.org>2018-06-02 20:49:40 -0300
commit5e0bf8a0305b92bb1841d08add9c49474fb73fe0 (patch)
treec7ee8b924fe05687e52219ee7376bc90cffa7af2
parentf89b432ada1f0cd8675414fc61d4d42ad5755c71 (diff)
Fix evil-mode autoloading
Change autoload marker for evil-mode that hardcoded autoload form. With it evil-mode was autoload as non-interactive function, which is wrong. This problem is Debian-specific and does not occur when installing Evil from MELPA. Author: Dmitry Bogatov <KAction@gnu.org> Last-Update: 2016-06-27 Forwarded: not-needed Gbp-Pq: Name fix-evil-mode-autoload.patch
-rw-r--r--evil-core.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-core.el b/evil-core.el
index e5e0267..2897d29 100644
--- a/evil-core.el
+++ b/evil-core.el
@@ -175,7 +175,7 @@ To enable Evil globally, do (evil-mode 1)."
(evil-local-mode 1)
(evil-initialize-state)))
-;;;###autoload (autoload 'evil-mode "evil")
+;;;###autoload
(define-globalized-minor-mode evil-mode
evil-local-mode evil-initialize)