emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set-default-font (was: bug#1066: 23.0.60; (tool-bar-mode -1) in ~/.emacs


From: Stefan Monnier
Subject: set-default-font (was: bug#1066: 23.0.60; (tool-bar-mode -1) in ~/.emacs has no effect with --daemon)
Date: Thu, 02 Oct 2008 21:04:27 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

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

Good you remind me.  Could someone mark it obsolete, please?


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]