summarylogtreecommitdiffstats
path: root/gnuserv.install
diff options
context:
space:
mode:
Diffstat (limited to 'gnuserv.install')
-rw-r--r--gnuserv.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnuserv.install b/gnuserv.install
new file mode 100644
index 000000000000..f9c3ebc91891
--- /dev/null
+++ b/gnuserv.install
@@ -0,0 +1,20 @@
+post_install () {
+ echo ""
+ echo "==> To use gnuserv, add the following Lisp to your ~/.emacs file:"
+ echo "==> "
+ echo "==> (autoload 'gnuserv-start \"gnuserv-compat\""
+ echo "==> \"Allow this Emacs process to be a server for client processes.\""
+ echo "==> t)"
+ echo "==> "
+ echo "==> Then, run (gnuserv-start). This may be done in your ~/.emacs. See "
+ echo "==> /usr/share/emacs/site-lisp/gnuserv-compat.el for commentary."
+ echo ""
+}
+
+post_upgrade () {
+ post_install $1
+ }
+
+ op=$1
+ shift
+ $op $*