Emacs: check if server is already running
Alan Pearce alan@alanpearce.co.uk
Sun, 29 Jun 2014 22:26:55 +0100
1 files changed, 4 insertions(+), 1 deletions(-)
jump to
M tag-emacs/emacs.d/init.el → tag-emacs/emacs.d/init.el
@@ -1108,4 +1108,7 @@ (req-package-finish) (unless (daemonp) - (server-start)) + (require 'server) + (if (server-running-p server-name) + (message "Server already appears to be running") + (server-start)))