From a1a0d01f9b89b43b09e08ccdc1e5613a62db48ec Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 22 Feb 2017 17:35:19 -0800 Subject: [PATCH] [Emacs] Disable tcp server --- dotfiles/emacs.d/README.org | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 73243d96..004d38bb 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -1393,6 +1393,13 @@ proced is an top like utility that runs inside of emacs. The following sets auto #+BEGIN_SRC emacs-lisp (add-hook 'after-save-hook 'executable-make-buffer-file-executable-if-script-p) #+END_SRC +** Use TCP Server +I've had to stop setting this variable, because it causes problems when emacs is +not STARTED in daemon mode. For some reason, even when the server is started, it +is not detected properly by emacsclient by default. +#+BEGIN_SRC emacs-lisp +(setq server-use-tcp nil) +#+END_SRC ** Misc #+BEGIN_SRC emacs-lisp (defvar iedit-toggle-key-default nil) @@ -1410,9 +1417,6 @@ proced is an top like utility that runs inside of emacs. The following sets auto (setq inhibit-startup-message t inhibit-startup-echo-area-message t) -;; This makes it so that emacs --daemon puts its files in ~/.emacs.d/server -(setq server-use-tcp t) - ;; Make buffer names unique. (setq uniquify-buffer-name-style 'forward)