[Top][All Lists]

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

Re: outline should have its own face definitions

From: Peter S Galbraith
Subject: Re: outline should have its own face definitions
Date: Mon, 09 Dec 2002 09:50:38 -0500

Miles Bader <miles@gnu.org> wrote:

> Hannu Koivisto <azure@iki.fi> writes:
> > If you are not interested in fixing this before the next release
> > comes out or at all, perhaps a new PROBLEMS entry could be
> > introduced that mentions that something along the lines of of the
> > example code below can be used to work around the problem in one's
> > personal .emacs.
> > 
> > (defface outline-1-face
> >   '((t (:bold t)))
> >   "Outline face for level 1.")
> ...
> Please don't end face names with `-face'; faces have their own
> namespace, so it is completely redundant.
> [Note that `font-lock-function-name-face' is a _variable_, not a face,
> so having it end in `-face' _is_ appropriate -- it tells you that the
> variable contains a face]

It's a variable whose value is `font-lock-function-name-face'!  :-)

reply via email to

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