diff options
| author | Eli Zaretskii | 2022-12-27 18:59:59 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2022-12-27 18:59:59 +0200 |
| commit | 624e3822110a94ff6bee2ffaf43a04271b5d7305 (patch) | |
| tree | 5db5093d59441b9d1c1fd37c93ff86eb226cb1e5 | |
| parent | 41f12e1019bb96e424e27c2290b285bf7899de80 (diff) | |
| download | emacs-624e3822110a94ff6bee2ffaf43a04271b5d7305.tar.gz emacs-624e3822110a94ff6bee2ffaf43a04271b5d7305.zip | |
; 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.el | 6 |
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." | |||
| 2110 | 2110 | ||
| 2111 | (defface font-lock-punctuation-face | 2111 | (defface font-lock-punctuation-face |
| 2112 | '((t nil)) | 2112 | '((t nil)) |
| 2113 | "Font Lock mode face used to highlight punctuation." | 2113 | "Font Lock mode face used to highlight punctuation characters." |
| 2114 | :group 'font-lock-faces | 2114 | :group 'font-lock-faces |
| 2115 | :version "29.1") | 2115 | :version "29.1") |
| 2116 | 2116 | ||
| @@ -2122,7 +2122,9 @@ For example, the declaration and use of fields in a struct." | |||
| 2122 | 2122 | ||
| 2123 | (defface font-lock-delimiter-face | 2123 | (defface font-lock-delimiter-face |
| 2124 | '((t :inherit font-lock-punctuation-face)) | 2124 | '((t :inherit font-lock-punctuation-face)) |
| 2125 | "Font Lock mode face used to highlight delimiters." | 2125 | "Font Lock mode face used to highlight delimiters. |
| 2126 | What exactly is a delimiter depends on the major mode, but usually | ||
| 2127 | these are characters like comma, colon, and semi-colon." | ||
| 2126 | :group 'font-lock-faces | 2128 | :group 'font-lock-faces |
| 2127 | :version "29.1") | 2129 | :version "29.1") |
| 2128 | 2130 | ||