Browse Source

Comment on our check for whether the server is already running

In a nutshell: it might be redundant, but we keep it nevertheless.
master
Daniel Borchmann 2 years ago
parent
commit
e08b6bc31d
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
  1. 9
      init.el

9
init.el

@ -272,6 +272,15 @@
;; Start Server when not running already
;; The following condition should actually always be false, since we have
;; neither loaded the server package yet nor have explicitly started the
;; server process. Also the --daemon command line switches will start the
;; server only later, after initialization (and they do so unconditionally,
;; thus restarting the server we have started here). However, for robustness,
;; we keep the condition nevertheless, since when a server process is already
;; present, we really don't have to do anything. Furthermore, calling
;; `db/run-init' again in a running Emacs will not restart the server (but
;; then, why whould one want to do this?).
(unless (and (boundp 'server-process) server-process)
(require 'server)

Loading…
Cancel
Save