瀏覽代碼

I think I dont have to enable server here

pull/15/head
10sr 8 年之前
父節點
當前提交
1cef4458d7
共有 1 個文件被更改,包括 11 次插入13 次删除
  1. +11
    -13
      emacs.el

+ 11
- 13
emacs.el 查看文件

@@ -356,19 +356,17 @@ IF OK-IF-ALREADY-EXISTS is true force download."

;; server

(when (safe-require-or-eval 'server)
(setq server-name (concat "server"
(number-to-string (emacs-pid))))

;; In Cygwin Environment `server-runnning-p' stops when server-use-tcp is nil
;; In Darwin environment, init fails with message like 'Service name too long'
;; when server-use-tcp is nil
(when (or (eq system-type
'cygwin)
(eq system-type
'darwin))
(setq server-use-tcp t))
(server-start))
(set-variable 'server-name (concat "server"
(number-to-string (emacs-pid))))

;; In Cygwin Environment `server-runnning-p' stops when server-use-tcp is nil
;; In Darwin environment, init fails with message like 'Service name too long'
;; when server-use-tcp is nil
(when (or (eq system-type
'cygwin)
(eq system-type
'darwin))
(set-variable 'server-use-tcp t))

;; MSYS2 fix



Loading…
取消
儲存