summarylogtreecommitdiffstats
path: root/emacs-lispy.install
diff options
context:
space:
mode:
Diffstat (limited to 'emacs-lispy.install')
-rw-r--r--emacs-lispy.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/emacs-lispy.install b/emacs-lispy.install
new file mode 100644
index 000000000000..f7aa82c2efcc
--- /dev/null
+++ b/emacs-lispy.install
@@ -0,0 +1,21 @@
+post_install () {
+
+cat << EOF
+
+==> Add this code to your .emacs file to use the mode:
+
+(require 'lispy)
+(add-hook 'emacs-lisp-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))))
+
+EOF
+}
+
+post_upgrade () {
+ post_install $1
+}