Only start server if it's not already running...

This commit is contained in:
John Doty 2015-06-26 07:24:54 -07:00
parent 07123ae409
commit 61b74b24f8

View file

@ -27,15 +27,17 @@
;; ;;
;; This emacs file has been around for a very long time, and it ;; This emacs file has been around for a very long time, and it
;; has accumulated a lot of stuff. I'd like to try to clean it ;; has accumulated a lot of stuff. I'd like to try to clean it
;; up a little bit.... ;; up a little bit....
;; ;;
;; ...turns out that lots of the customization still makes ;; ...turns out that lots of the customization still makes
;; sense. But fetching the packages is still the hard part. ;; sense. But fetching the packages is still the hard part.
;; ;;
;; Make sure we start the server? ;; =================================================================
;; ;; First, before anything... server goop.
(server-start) ;; =================================================================
(require 'server)
(if (not (server-running-p)) (server-start))
;; ================================================================= ;; =================================================================
;; Various bits of path setup (init-dir is defined by init.el) ;; Various bits of path setup (init-dir is defined by init.el)