summaryrefslogtreecommitdiff
path: root/evil-collection-help.el
diff options
context:
space:
mode:
authorEnze Chi <enze.chi@gmail.com>2018-10-15 21:30:19 +1100
committerPierre Neidhardt <mail@ambrevar.xyz>2018-10-16 09:22:31 +0200
commitd9760942c6d0566cf4475ce7702207b7b5a35f00 (patch)
treeee996f77b618ac98289713b632429e6d6a57455e /evil-collection-help.el
parentabc9dd60f71ccc1f24803a12d853f84b4a8b258c (diff)
Autoload "evil-collection-*-setup" functions
With autoload, it doesn't need "require" the package before call evil-collection-*-setup function.
Diffstat (limited to 'evil-collection-help.el')
-rw-r--r--evil-collection-help.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/evil-collection-help.el b/evil-collection-help.el
index 33d7520..b69b03d 100644
--- a/evil-collection-help.el
+++ b/evil-collection-help.el
@@ -32,6 +32,7 @@
(defconst evil-collection-help-maps '(help-mode-map))
+;;;###autoload
(defun evil-collection-help-setup ()
"Set up `evil' bindings for `help'."
(evil-set-initial-state 'help-mode 'normal)
@@ -56,9 +57,9 @@
;; The following bindings don't do what they are supposed to. "go" should open
;; in the same window and "gO" should open in a different one.
- "go" 'push-button
+ "go" 'push-button
"gO" 'push-button
-
+
"g?" 'describe-mode
"gr" 'revert-buffer
"<" 'help-go-back