Conditionally start Emacs server
Only attempt to start the Emacs server if there isn't already one running.
This commit is contained in:
parent
0f2a13a32a
commit
bdd9d963be
1 changed files with 2 additions and 1 deletions
|
@ -303,7 +303,8 @@
|
||||||
(paradox-enable))
|
(paradox-enable))
|
||||||
|
|
||||||
;; Start the Emacs server
|
;; Start the Emacs server
|
||||||
(server-start)
|
(when (not server-process)
|
||||||
|
(server-start))
|
||||||
|
|
||||||
(provide 'wpc-misc)
|
(provide 'wpc-misc)
|
||||||
;;; wpc-misc.el ends here
|
;;; wpc-misc.el ends here
|
||||||
|
|
Loading…
Reference in a new issue