Load server on focus-out
In case the user switches to a terminal to use emacsclient as soon as emacs is started.
This commit is contained in:
parent
eb7d4bf0e8
commit
3423ecc3d3
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ savehist file."
|
|||
|
||||
(def-package! server
|
||||
:when (display-graphic-p)
|
||||
:after-call (pre-command-hook after-find-file)
|
||||
:after-call (pre-command-hook after-find-file focus-out-hook)
|
||||
:init
|
||||
(when-let (name (getenv "EMACS_SERVER_NAME"))
|
||||
(setq server-name name))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue