aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts/eserver
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2020-09-21 22:11:00 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2020-09-21 22:11:00 +0100
commit7a28e20e827023e71ae8d694e35090a174d7da21 (patch)
treebb443f8ac137ae637cf47d7c31897d1058ed118a /Scripts/.local/scripts/eserver
parentcad9e1b94d8af0c59282c5237cdde83013ea43d3 (diff)
downloaddotfiles-7a28e20e827023e71ae8d694e35090a174d7da21.tar.gz
dotfiles-7a28e20e827023e71ae8d694e35090a174d7da21.tar.bz2
dotfiles-7a28e20e827023e71ae8d694e35090a174d7da21.zip
(Scripts)~eserver -> eselect
Remove eserver cos it's useless and integrate emacsclient into eselect
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