From c1b05ff6c1ae15f3925e54f8df08d1e926b71aac Mon Sep 17 00:00:00 2001 From: Vlad Bokov Date: Fri, 15 Jun 2018 13:58:49 +0700 Subject: [PATCH] Add documentation about specify socket server for client --- doc/DOCUMENTATION.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/DOCUMENTATION.org b/doc/DOCUMENTATION.org index df580836b..2434a89bd 100644 --- a/doc/DOCUMENTATION.org +++ b/doc/DOCUMENTATION.org @@ -3388,7 +3388,8 @@ your Emacs windows. ** Connecting to the Emacs server You can open a file in Emacs from the terminal using =emacsclient=. Use =emacsclient -c= to open the file in Emacs GUI. Use =emacsclient -t= to open the -file in Emacs within the terminal. +file in Emacs within the terminal. If you set Emacs server socket by setting =dotspacemacs-server-socket-dir=, +then pass its location as =-s ~/.emacs.d/server/server= additionally. If you want your Linux/OS X system to use Emacs by default for any prompt, you need to set it in your shell configuration, e.g. =~/.bashrc= or =~/.zshrc=: