summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Whitt2017-06-05 07:10:44 -0400
committerAlex Whitt2017-06-05 07:10:44 -0400
commit8adc521c67b62ac56f82f51a9a012e40fb1205d6 (patch)
tree8d163162bd066fc70f6627d61382287391c1ea78
parent0f25b35af3f9d62eb3046b58fdf80cca36d1f410 (diff)
downloadaur-emacs-lispy.tar.gz
Updating install hints
-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
}