mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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))
|
||||
|
Reference in New Issue
Block a user