[PATCH 2/2] Remove manual override to `evil-mode' docstring.

Trevor Murphy trevor.m.murphy at gmail.com
Sat Nov 1 19:40:44 CET 2014


The `define-globalized-minor-mode' macro generates a docstring that
covers the same information, includes references to more functions, and
fits the standard used by many global minor modes.
---
 evil-core.el | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/evil-core.el b/evil-core.el
index cb440b7..7b7309c 100644
--- a/evil-core.el
+++ b/evil-core.el
@@ -193,12 +193,6 @@ To enable Evil globally, do (evil-mode 1)."
     (ad-update-regexp "^evil")
     (with-no-warnings (evil-esc-mode -1))))
 
-(put 'evil-mode 'function-documentation
-     "Toggle Evil in all buffers.
-Enable with positive ARG and disable with negative ARG.
-See `evil-local-mode' to toggle Evil in the
-current buffer only.")
-
 (defun evil-change-state (state &optional message)
   "Change the state to STATE.
 If STATE is nil, disable all states."
-- 
2.1.2




More information about the implementations-list mailing list