Subject: Re: bug#1066: 23.0.60; (tool-bar-mode -1) in ~/.emacs has no effect with --daemon

From: Romain Francoise <[email-masked]>
Date: Thu, 02 Oct 2008 22:07:58 +0200

Dan Nicolaescu <[email-masked]> writes:

> Can you please test this patch:

> --- faces.el.~1.425.~	2008-09-24 12:55:17.000000000 -0700
> +++ faces.el	2008-10-02 12:39:46.000000000 -0700
> @@ -2001,7 +2001,6 @@ Value is the new frame created."
>  	  ;; Make sure the tool-bar is ready to be enabled.  The
>  	  ;; `tool-bar-lines' frame parameter will not take effect
>  	  ;; without this call.
> -	  (tool-bar-setup frame)
>  	  (if (null visibility-spec)
>  	      (make-frame-visible frame)
>  	    (modify-frame-parameters frame (list visibility-spec)))

Works for me, thanks.

While I'm at it: the user who reported this bug to me also has the
problem with `set-default-font', it seems to have no effect with
--daemon.