Re: Quick way to use same size font for all faces?

Ralf Angeli <[email protected]> Tue, 22 Mar 2005 18:17:13 +0100
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
* Jonathan Underwood (2005-03-22) writes:

> Ralf Angeli wrote:
>> 
>> Did you restart Emacs?
>
> Yes, I did.
>
> Actually I resolved the issue, I had put
>
> (setq font-latex-title-fontify 'color)
>
> inside LaTeX-mode-hook. This was having no effect. Placing it outside 
> LaTeX-mode-hook has the desired effect. Is this a bug?

No, it isn't.  The value of the variable is consulted when
font-latex.el is being loaded.  That means if you put your code for
changing the variable into `LaTeX-mode-hook', font-latex.el gets
loaded and uses the default value of `font-latex-title-fontify'.  Some
time after that `LaTeX-mode-hook' will be run and the variable will
get the value you specified.  Of course, this is too late at that
time.

-- 
Ralf