emacs-devel
[Top][All Lists]
Advanced

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

Re: Guide for getting proportional fonts "where appropriate?"


From: Gwenhael
Subject: Re: Guide for getting proportional fonts "where appropriate?"
Date: Thu, 15 Mar 2012 09:32:43 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Dave Abrahams <dave <at> boostpro.com> writes:
> 
> I've been looking around for a way to get proportional fonts to be used
> somewhat more uniformly in prose contexts (like `M-x info') and not at
> all in code contexts.  Does anyone know of a way short of customizing
> lots and lots of faces?
> 
> Thanks,
> 


Hi,

I have the following code to do exactly that in my .emacs although I can't quite
remember where I found it:

  (dolist (hook '(erc-mode-hook
                  LaTeX-mode-hook
                  edit-server-start-hook
                  markdown-mode-hook
                  twittering-mode
                  text-mode
                  fundamental-mode))
    (add-hook hook (lambda () (variable-pitch-mode t))))





reply via email to

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