[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: set-face-attribute when starting daemon
From: |
Zhongwei Yao |
Subject: |
Re: set-face-attribute when starting daemon |
Date: |
Wed, 4 Mar 2015 12:27:26 +0800 |
Thanks. I add set-face-attribute to after-make-frame-functions hook.
On Mon, Mar 2, 2015 at 9:17 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> > Date: Mon, 2 Mar 2015 12:04:12 +0800
> > From: Zhongwei Yao <ashi08104@gmail.com>
> >
> > I run emacs --daemon into this error on mac os x:
> > Error: server did not start correctly
> >
> > and I find it is caused by my following configuration:
> > (set-face-attribute
> > 'default nil :font "Courier New 15"))
>
> Don't do that if daemonp returns non-nil. There are no frames when
> the daemon starts, and so no faces to change their attributes.
>
>