[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: |
Tue, 18 May 2010 23:58:53 +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/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. 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.