aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts/eserver
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/.local/scripts/eserver')
-rwxr-xr-xScripts/.local/scripts/eserver22
1 files changed, 0 insertions, 22 deletions
diff --git a/Scripts/.local/scripts/eserver b/Scripts/.local/scripts/eserver
deleted file mode 100755
index 309df99..0000000
--- a/Scripts/.local/scripts/eserver
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env sh
-
-if [ $1 = "restart" ]
-then
- eserver stop
- eserver start
-elif [ $1 = "start" ]
-then
- if [ -e "/tmp/emacs-server" ]
- then
- echo "Server running already!"
- else
- emacs --bg-daemon=MAIN
- touch /tmp/emacs-server
- fi
-elif [ $1 = "stop" ]
-then
- eserver --eval "(kill-emacs)"
- rm /tmp/emacs-server
-else
- emacsclient -s MAIN $@
-fi