add a bit of documentation about setting the server socket

This commit is contained in:
Carl Lange 2018-03-04 13:44:43 +00:00 committed by syl20bnr
parent d92da11bcd
commit d423965862
1 changed files with 6 additions and 0 deletions

View File

@ -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