emacs: prevent service restart on change

Fixes #668
This commit is contained in:
Robert Helgesson 2019-04-14 02:06:47 +02:00
parent 6b42bd7abf
commit 9c0536deda
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -28,6 +28,10 @@ in
Unit = {
Description = "Emacs: the extensible, self-documenting text editor";
Documentation = "info:emacs man:emacs(1) https://gnu.org/software/emacs/";
# Avoid killing the Emacs session, which may be full of
# unsaved buffers.
X-RestartIfChanged = false;
};
Service = {