Add documentation about specify socket server for client

This commit is contained in:
Vlad Bokov 2018-06-15 13:58:49 +07:00 committed by Codruț Constantin Gușoi
parent e33638d920
commit c1b05ff6c1
1 changed files with 2 additions and 1 deletions

View File

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