On Tue, May 18, 2010 at 6:58 PM, Uday S Reddy <u.s.re...@cs.bham.ac.uk>wrote:

> On 5/18/2010 3:35 PM, Gary Oberbrunner wrote:
>
>  ; set default font attributes (for all frames)
>> (set-face-attribute 'default nil :font "Consolas-10.5")
>>
>
> Thanks, Gary.  The way to set the default font on the current frame would
> be
>
> (set-face-attribute 'default (selected-frame) :font "Consolas-10.5")
>
> However, this is not a proper replacement for the lost menu item in Emacs
> 23 because set-face-attribute is not a command.


(defun fix-broken-emacs-23 ()
"Command to replace bug introduced into emacs 23"
(interactive)
(set-face-attribute 'default (selected-frame) :font "Consolas-10.5"))

You might want to rename it, but this provides you the command that you
want.  Just add it to .emacs.


>  It is an elisp function, and one has to eval this expression to get the
> job done.
>
> Cheers,
> Uday
>
> PS:  Drew, thanks for the rant.  It give me quite a bit of satisfaction.
>
>
>
>
>
>

Reply via email to