summarylogtreecommitdiffstats
path: root/emacs-guide-key.install
diff options
context:
space:
mode:
authorAlex Whitt2017-05-11 13:00:33 -0400
committerAlex Whitt2017-05-11 13:00:33 -0400
commit7f47c7e9429b139de2ac2949a1460314cd242ea3 (patch)
treee1ed52d1b732fa99b081cab30310dda2f9639216 /emacs-guide-key.install
downloadaur-7f47c7e9429b139de2ac2949a1460314cd242ea3.tar.gz
Initial commit
Diffstat (limited to 'emacs-guide-key.install')
-rw-r--r--emacs-guide-key.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/emacs-guide-key.install b/emacs-guide-key.install
new file mode 100644
index 00000000000..c21b6701aa0
--- /dev/null
+++ b/emacs-guide-key.install
@@ -0,0 +1,21 @@
+post_install () {
+
+cat << EOF
+
+==> Add this code to your .emacs file to use the mode:
+
+(require 'guide-key)
+(guide-key-mode 1)
+
+==> Or, with use-package:
+
+(use-package guide-key
+ :config
+ (guide-key-mode 1))
+
+EOF
+}
+
+post_upgrade () {
+ post_install $1
+}