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

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

Re: outline should have its own face definitions


From: Miles Bader
Subject: Re: outline should have its own face definitions
Date: 09 Dec 2002 06:21:20 +0900

Hannu Koivisto <address@hidden> 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]

Thanks,

-Miles
-- 
`Cars give people wonderful freedom and increase their opportunities.
 But they also destroy the environment, to an extent so drastic that
 they kill all social life' (from _A Pattern Language_)



reply via email to

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