Emacs: Some more changes to use Emacs server socket instead of TCP.
This commit is contained in:
parent
8373e9afd7
commit
8757dfc12b
|
@ -1,6 +1,6 @@
|
||||||
;;; server.el --- Set up network stuff.. -*- lexical-binding: t; -*-
|
;;; server.el --- Set up network stuff.. -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Time-stamp: <2020-11-29T14:09:27+0100>
|
;; Time-stamp: <2020-11-29T15:17:55+0100>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
|
||||||
|
@ -43,11 +43,7 @@
|
||||||
:if (not (or (equal (user-real-uid) 0)
|
:if (not (or (equal (user-real-uid) 0)
|
||||||
(getenv "SSH_CONNECTION")))
|
(getenv "SSH_CONNECTION")))
|
||||||
:functions (server-running-p)
|
:functions (server-running-p)
|
||||||
;; :init (setq
|
:init (setq server-socket-dir (concat user-emacs-directory "server"))
|
||||||
;; server-use-tcp t
|
|
||||||
;; server-port 51313
|
|
||||||
;; server-auth-key ; 64 chars, saved in ~/.emacs.d/server/server.
|
|
||||||
;; "phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh")
|
|
||||||
:config (unless (eq (server-running-p) t)
|
:config (unless (eq (server-running-p) t)
|
||||||
(server-start)))
|
(server-start)))
|
||||||
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
127.0.0.1:51313 12952
|
|
||||||
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh
|
|
Loading…
Reference in New Issue
Block a user