summarylogtreecommitdiffstats
path: root/emacs-lispy.install
diff options
context:
space:
mode:
authorAlex Whitt2017-06-05 06:51:22 -0400
committerAlex Whitt2017-06-05 06:51:22 -0400
commit0f25b35af3f9d62eb3046b58fdf80cca36d1f410 (patch)
tree35b126e24b39959569f25665a5751f1bbb7c2248 /emacs-lispy.install
downloadaur-0f25b35af3f9d62eb3046b58fdf80cca36d1f410.tar.gz
Initial commit
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
+}