summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-12-27 18:59:59 +0200
committerEli Zaretskii <eliz@gnu.org>2022-12-27 18:59:59 +0200
commit624e3822110a94ff6bee2ffaf43a04271b5d7305 (patch)
tree5db5093d59441b9d1c1fd37c93ff86eb226cb1e5
parent41f12e1019bb96e424e27c2290b285bf7899de80 (diff)
downloademacs-624e3822110.tar.gz
; Improve doc strings of some new faces
* lisp/font-lock.el (font-lock-punctuation-face) (font-lock-delimiter-face): Doc fix.
-rw-r--r--lisp/font-lock.el6
1 files changed, 4 insertions, 2 deletions
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")