Emacs: Some more changes to use Emacs server socket instead of TCP.

This commit is contained in:
tastytea 2020-11-29 15:18:09 +01:00
parent 8373e9afd7
commit 8757dfc12b
2 changed files with 2 additions and 8 deletions

View File

@ -1,6 +1,6 @@
;;; 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:
@ -43,11 +43,7 @@
:if (not (or (equal (user-real-uid) 0)
(getenv "SSH_CONNECTION")))
:functions (server-running-p)
;; :init (setq
;; server-use-tcp t
;; server-port 51313
;; server-auth-key ; 64 chars, saved in ~/.emacs.d/server/server.
;; "phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh")
:init (setq server-socket-dir (concat user-emacs-directory "server"))
:config (unless (eq (server-running-p) t)
(server-start)))

View File

@ -1,2 +0,0 @@
127.0.0.1:51313 12952
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh