summarylogtreecommitdiffstats
path: root/emacs-popwin.install
diff options
context:
space:
mode:
authorAlex Whitt2017-05-11 12:52:16 -0400
committerAlex Whitt2017-05-11 12:52:16 -0400
commit8898954b6dc6fa9ff791a5d1d61aa9b940ab1cd4 (patch)
treecc139fc06c714646b9c62ae2762f372aa6db1743 /emacs-popwin.install
downloadaur-emacs-popwin.tar.gz
Initial commit
Diffstat (limited to 'emacs-popwin.install')
-rw-r--r--emacs-popwin.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/emacs-popwin.install b/emacs-popwin.install
new file mode 100644
index 000000000000..6aeef8eda01b
--- /dev/null
+++ b/emacs-popwin.install
@@ -0,0 +1,21 @@
+post_install () {
+
+cat << EOF
+
+==> Add this code to your .emacs file to use the mode:
+
+(require 'popwin)
+(popwin-mode 1)
+
+==> Or do the above with use-package:
+
+(use-package popwin
+ :config
+ (popwin-mode 1))
+
+EOF
+}
+
+post_upgrade () {
+ post_install $1
+}