help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: proportional fonts for code editing


From: David Hansen
Subject: Re: proportional fonts for code editing
Date: Wed, 23 May 2007 09:31:59 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

On Sat, 19 May 2007 23:07:57 +0530 Rustom Mody wrote:

> On 5/19/07, David Hansen wrote:
>
>  Not tested but this should work:
>
>     font-lock-add-keywords
>        'c-mode                         ; same with other modes
>     
>        '(("^[[:space:]]*" 0 default))) ; use some face with a bigger or fixed 
> font 
>
> Does not seem to do anything!

(font-lock-add-keywords
   'c-mode
   '(("^[[:space:]]*" 0 'default)))

works (note the extra quote).  But use something else than `default'.
`list-faces-display' shows you all defined faces.

David





reply via email to

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