How to set emacsclient background as Emacs background?

前端 未结 1 1833
栀梦
栀梦 2021-01-14 20:30

I\'ve got (in my .emacs)

(set-background-color \"#101416\")
(set-foreground-color \"#f6f3e8\")

And I\'ve got 2 bindings:

al         


        
相关标签:
1条回答
  • 2021-01-14 20:55

    set-background-color and set-foreground-color only affect the current frame, and your .emacs file is not executed when running emacsclient.

    Try setting the variable default-frame-alist ("Alist of default values for frame creation") instead:

    (setq default-frame-alist
          '((background-color . "#101416")
            (foreground-color . "#f6f3e8")))
    
    0 讨论(0)
提交回复
热议问题