From d4239658627f44ae7639a8870cfa7cf20dfd9b07 Mon Sep 17 00:00:00 2001 From: Carl Lange Date: Sun, 4 Mar 2018 13:44:43 +0000 Subject: [PATCH] add a bit of documentation about setting the server socket --- doc/DOCUMENTATION.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/DOCUMENTATION.org b/doc/DOCUMENTATION.org index 82f6bcfef..0bdd1d7b8 100644 --- a/doc/DOCUMENTATION.org +++ b/doc/DOCUMENTATION.org @@ -3368,6 +3368,12 @@ export EDITOR="/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -c" Tip: Remember to use ~:wq~ or ~C-x #~ after you are done editing the file in Emacs. +You can set the location of the Emacs server socket by setting =dotspacemacs-server-socket-dir= in your =~./spacemacs=: + +#+BEGIN_SRC emacs-lisp +(setq-default dotspacemacs-server-socket-dir "~/.emacs/server") +#+END_SRC + See [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Emacs-Server.html][Emacs as a Server]] in the official Emacs manual for more details. ** Keeping the server alive