Subject: Re: bug#43396: 27.1; Customized "cursor" face has no effect in daemon mode

From: Teemu Likonen <[email-masked]>
Date: Tue, 29 Jun 2021 16:38:29 +0300

* 2021-06-29 15:21:45+0300, Eli Zaretskii wrote:

> I thought I was doing well by helping you resolve this issue in your
> init files...

Thank you. You helped be to understand the behaviour. My personal fix
has been an additional (when (daemonp) ...) code:

    (setq custom-file "~/.emacs.d/custom.el")
    (load custom-file)

    (when (daemonp)
      (face-spec-set 'cursor '((((background dark)) :background "#eee")
                               (((background light)) :background "#000"))))