[Init] Start server if not already running
Regardless of whether on Windows or on Linux
This commit is contained in:
parent
64c4f231bd
commit
33d5531797
7
init.el
7
init.el
|
@ -320,9 +320,9 @@ _h_ _l_ _o_k _y_ank
|
|||
'(defun enriched-decode-display-prop (start end &optional param)
|
||||
(list start end)))
|
||||
|
||||
;; Start Server when on Windows
|
||||
;; Start Server when not running already
|
||||
|
||||
(when on-windows
|
||||
(unless (server-running-p)
|
||||
(server-start))
|
||||
|
||||
t)
|
||||
|
@ -575,6 +575,9 @@ _h_ _l_ _o_k _y_ank
|
|||
(add-hook 'input-method-activate-hook
|
||||
#'db/add-symbols-to-TeX-input-method)))
|
||||
|
||||
(use-package server
|
||||
:commands (server-running-p server-start))
|
||||
|
||||
|
||||
;; * Some essential packages
|
||||
|
||||
|
|
Loading…
Reference in New Issue