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

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

Re: Newbie: Interactive goto-line ?!


From: Johan Bockgård
Subject: Re: Newbie: Interactive goto-line ?!
Date: Fri, 27 Feb 2004 16:17:57 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (usg-unix-v)

Alan Mackenzie<none@example.invalid> writes:

> Floyd L. Davidson <floyd@barrow.com> wrote:
>
>> I've tried, with no success, to find a way to change font-lock face
>> colors when switching between major modes. [...] That is something
>> I would really like to have.
>
> It would appear that buffer-local faces can not be created. I don't
> know why this should be so. It seems to be an inconsistency in
> Emacs, because just about anything else can be made buffer local.

"You can make Font Lock mode use any face, but several faces are
defined specifically for Font Lock mode. Each of these symbols is both
a face name, and a variable whose default value is the symbol itself."

Make the variable buffer local.

-- 
Johan Bockgård


reply via email to

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