On 5/19/2010 1:54 PM, Troy Daniels wrote:


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

Well, that is not all there is to it.  Consolas-10.5 is one font, but that is probably 
not what I want.  One would need a command that reads the font name from the minibuffer, 
provides a completion list etc.  The nice thing about the "Set Font" menu item 
was that it just used the Windows dialogue box with a familiar menu of font names and 
sizes.

Cheers,
Uday


Reply via email to