diff --git a/init.el b/init.el index 53c719b..f58463f 100644 --- a/init.el +++ b/init.el @@ -608,11 +608,11 @@ DOCSTRING is an optional form that is discarded upon expansion." "Allows Emacs to operate as a server for other Emacs processes" :config ;; When running in a server/client configuration, we don't want the - ;; foreground/background in `default-frame-alist' to override the colors - ;; set by the theme every time we open a new client frame + ;; foreground/background colors in `default-frame-alist' to overwrite the + ;; colors set by the active theme every time we open a new client frame (when (daemonp) - (assoc-delete-all 'foreground default-frame-alist) - (assoc-delete-all 'background default-frame-alist)) + (assoc-delete-all 'foreground-color default-frame-alist) + (assoc-delete-all 'background-color default-frame-alist)) :custom (server-client-instructions nil "Suppress help messages from the server for new frames"))