On 02/10/13 10:10, Alan Schmitt wrote:
Hi Ian,
li...@wilkesley.net writes:
ur help.
That sort of works. The fonts in org-table, etc are fixed pitch as
expected. However, I seem unable to set a variable width font using
text-mode-hook. Whatever font I choose Emacs ends up using DejaVu Sans
Mono.
Is it because the "variable-pitch-mode" is not set, or because the face
associated with it is not applied? What happens when you do a "M-x
variable-pitch-mode"?
Alan
Aha! As you suggest variable-pitch-mode isn't being set. Doing an "M-x
variable-pitch-mode" sets the font correctly. So either text-mode-hook
isn't being called, or something is resetting it.
[Time passes...]
Just had a look through my .emacs and I was using text-mode-hook later
on to turn on autofill. So problem solved, thanks very much for your help.
Ian.