diff options
author | Alex Whitt | 2017-06-05 07:10:44 -0400 |
---|---|---|
committer | Alex Whitt | 2017-06-05 07:10:44 -0400 |
commit | 8adc521c67b62ac56f82f51a9a012e40fb1205d6 (patch) | |
tree | 8d163162bd066fc70f6627d61382287391c1ea78 | |
parent | 0f25b35af3f9d62eb3046b58fdf80cca36d1f410 (diff) | |
download | aur-emacs-lispy.tar.gz |
Updating install hints
-rw-r--r-- | emacs-lispy.install | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/emacs-lispy.install b/emacs-lispy.install index f7aa82c2efcc..c9db76e7d37f 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 } |