From: Eli Zaretskii <eliz@gnu.org>
Date: Tue, 27 Dec 2022 16:59:59 +0000 (+0200)
Subject: ; Improve doc strings of some new faces
X-Git-Tag: emacs-29.0.90~964
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=624e3822110a94ff6bee2ffaf43a04271b5d7305;p=emacs.git

; Improve doc strings of some new faces

* lisp/font-lock.el (font-lock-punctuation-face)
(font-lock-delimiter-face): Doc fix.
---

diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index 2dfbe3ad232..831e603239b 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -2110,7 +2110,7 @@ For example, the declaration and use of fields in a struct."
 
 (defface font-lock-punctuation-face
   '((t nil))
-  "Font Lock mode face used to highlight punctuation."
+  "Font Lock mode face used to highlight punctuation characters."
   :group 'font-lock-faces
   :version "29.1")
 
@@ -2122,7 +2122,9 @@ For example, the declaration and use of fields in a struct."
 
 (defface font-lock-delimiter-face
   '((t :inherit font-lock-punctuation-face))
-  "Font Lock mode face used to highlight delimiters."
+  "Font Lock mode face used to highlight delimiters.
+What exactly is a delimiter depends on the major mode, but usually
+these are characters like comma, colon, and semi-colon."
   :group 'font-lock-faces
   :version "29.1")