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

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

bug#36647: 26.1; Please align examples of search-based fontification wit


From: Glenn Morris
Subject: bug#36647: 26.1; Please align examples of search-based fontification with recommendations
Date: Sun, 14 Jul 2019 16:39:59 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Markus Triska wrote:

> In 39.12.2 Defining Faces, the documentation of defface includes the text:
>
>    "You should not quote the symbol FACE, and
>     it should not end in '-face' (that would be redundant)."
>
> Yet, 23.6.2 Search-based Fontification repeatedly mentions fubar-face as
> example face, and its name does end in -face:
>
>     ;; Highlight occurrences of 'fubar',
>     ;; using the face which is the value of 'fubar-face'.
>     ("fubar" . fubar-face)

fubar-face is not a face, but a variable whose value is a face.
Thus, there is no inconsistency here.





reply via email to

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