about summary refs log tree commit diff
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/wpc/wpc-misc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-misc.el b/emacs/.emacs.d/wpc/wpc-misc.el
index 11ef17cc4f6c..8ef3f2f63ab2 100644
--- a/emacs/.emacs.d/wpc/wpc-misc.el
+++ b/emacs/.emacs.d/wpc/wpc-misc.el
@@ -303,7 +303,7 @@
   (paradox-enable))
 
 ;; Start the Emacs server
-(when (not server-process)
+(when (not (server-running-p))
   (server-start))
 
 (provide 'wpc-misc)