1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-27 17:08:31 +02:00

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 = {