[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[h-e-w] Re: Changing frame font
From: |
Uday S Reddy |
Subject: |
[h-e-w] Re: Changing frame font |
Date: |
Wed, 19 May 2010 23:36:19 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
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