summaryrefslogtreecommitdiff
path: root/.config/systemd/user/default.target.wants
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-10-10 17:09:23 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-10-10 17:15:37 -0400
commit0e67aadb031f8b16e50e97b60fef56060185e789 (patch)
treea6a5391c04920c5eba49c794455416ad32ef7703 /.config/systemd/user/default.target.wants
parentf88159c624564d5fe9945820b89b21ef5685fc23 (diff)
Update emacs config
Diffstat (limited to '.config/systemd/user/default.target.wants')
-rw-r--r--.config/systemd/user/default.target.wants/emacs-daemon.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/systemd/user/default.target.wants/emacs-daemon.service b/.config/systemd/user/default.target.wants/emacs-daemon.service
index ef8f65f..279d83a 100644
--- a/.config/systemd/user/default.target.wants/emacs-daemon.service
+++ b/.config/systemd/user/default.target.wants/emacs-daemon.service
@@ -4,6 +4,7 @@ Description=Emacs deamon
[Service]
Type=forking
ExecStart=/bin/bash -l -c 'emacs --daemon'
+ExecStop=/bin/bash -l -c 'emacsclient -e "(kill-emacs)"'
[Install]
WantedBy=default.target