[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master f301513: Don't claim that anonymous face can't be used in font-lo
From: |
Lars Ingebrigtsen |
Subject: |
master f301513: Don't claim that anonymous face can't be used in font-lock |
Date: |
Fri, 1 Nov 2019 09:17:47 -0400 (EDT) |
branch: master
commit f301513a46809d0638487c2065847b5fa3f017e5
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Don't claim that anonymous face can't be used in font-lock
* doc/lispref/display.texi (Faces): Anonymous functions can be
used when font locking, so adjust the injunction against them
(bug#35005).
---
doc/lispref/display.texi | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 6290c89..23758f6 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -2248,11 +2248,10 @@ is equivalent to a Lisp symbol with the same name.}.
Named faces are
defined using the @code{defface} macro (@pxref{Defining Faces}).
Emacs comes with several standard named faces (@pxref{Basic Faces}).
- Many parts of Emacs require named faces, and do not accept
-anonymous faces. These include the functions documented in
-@ref{Attribute Functions}, and the variable @code{font-lock-keywords}
-(@pxref{Search-based Fontification}). Unless otherwise stated, we
-will use the term @dfn{face} to refer only to named faces.
+ Many parts of Emacs require named faces, but some do not accept
+anonymous faces (e.g., the functions documented in @ref{Attribute
+Functions}). Unless otherwise stated, we will use the term @dfn{face}
+to refer only to named faces.
@defun facep object
This function returns a non-@code{nil} value if @var{object} is a
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master f301513: Don't claim that anonymous face can't be used in font-lock,
Lars Ingebrigtsen <=