summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emacs-lispy.install7
1 files changed, 6 insertions, 1 deletions
diff --git a/emacs-lispy.install b/emacs-lispy.install
index f7aa82c2efc..c9db76e7d37 100644
--- a/emacs-lispy.install
+++ b/emacs-lispy.install
@@ -5,13 +5,18 @@ cat << EOF
==> Add this code to your .emacs file to use the mode:
(require 'lispy)
+
+==> Then, for any modes for which you want to activate lispy:
+
(add-hook 'emacs-lisp-mode-hook (lambda () (lispy-mode 1)))
+(add-hook 'clojure-mode-hook (lambda () (lispy-mode 1)))
==> Or do the above with use-package:
(use-package lispy
:config
- (add-hook 'emacs-lisp-mode-hook (lambda () (lispy-mode 1))))
+ (add-hook 'emacs-lisp-mode-hook (lambda () (lispy-mode 1))) ; For Elisp
+ (add-hook 'clojure-mode-hook (lambda () (lispy-mode 1)))) ; For Clojure
EOF
}