Skip to content

Commit

Permalink
Only use server-running-p if it is available
Browse files Browse the repository at this point in the history
  • Loading branch information
candera committed Feb 22, 2013
1 parent 63a065b commit 8a7d157
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion init.el
Expand Up @@ -18,7 +18,9 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(require 'server) (require 'server)
(unless (or (eq system-type 'windows-nt) (unless (or (eq system-type 'windows-nt)
(server-running-p)) (if (fboundp 'server-running-p)
(server-running-p)
server-process))
(server-start)) (server-start))


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Expand Down

0 comments on commit 8a7d157

Please sign in to comment.