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

From: Dan Nicolaescu <[email-masked]>
Date: Thu, 2 Oct 2008 14:14:31 -0700 (PDT)

Romain Francoise <[email-masked]> writes:

  > 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.

Another thing:

set-default-font is an alias for `set-frame-font' in `frame.el'.

(set-default-font font-name &optional keep-size)

Set the font of the selected frame to font-name.
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
when .emacs is run, the selected frame is not an X11 frame, so this
function does not seem to be the right one to use.