Conditionally start Emacs server

Only attempt to start the Emacs server if there isn't already one
running.
This commit is contained in:
William Carroll 2020-09-07 16:13:16 +01:00
parent 0f2a13a32a
commit bdd9d963be

View file

@ -303,7 +303,8 @@
(paradox-enable))
;; Start the Emacs server
(server-start)
(when (not server-process)
(server-start))
(provide 'wpc-misc)
;;; wpc-misc.el ends here