diff options
| author | Eli Zaretskii | 2022-04-02 13:20:56 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2022-04-02 13:20:56 +0300 |
| commit | 9b5e9715ea64f971e215e91898e3ef49b159cdbe (patch) | |
| tree | 21d4d5ed2685744e114f391be67c00c4810ec8a6 | |
| parent | 03e6a295d5c46151361845afbf5c8bcae915c89f (diff) | |
| download | emacs-9b5e9715ea64f971e215e91898e3ef49b159cdbe.tar.gz emacs-9b5e9715ea64f971e215e91898e3ef49b159cdbe.zip | |
; * lisp/font-lock.el (font-lock-keywords): Doc fix.
| -rw-r--r-- | lisp/font-lock.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 7d264cf9824..c9c390840ff 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el | |||
| @@ -349,7 +349,7 @@ This can be an \"!\" or the \"n\" in \"ifndef\".") | |||
| 349 | ;; Fontification variables: | 349 | ;; Fontification variables: |
| 350 | 350 | ||
| 351 | (defvar font-lock-keywords nil | 351 | (defvar font-lock-keywords nil |
| 352 | "A list of the keywords to highlight. | 352 | "A list of keywords and corresponding font-lock highlighting rules. |
| 353 | There are two kinds of values: user-level, and compiled. | 353 | There are two kinds of values: user-level, and compiled. |
| 354 | 354 | ||
| 355 | A user-level keywords list is what a major mode or the user would | 355 | A user-level keywords list is what a major mode or the user would |
| @@ -374,10 +374,10 @@ point, and set `match-data' appropriately if it succeeds; like | |||
| 374 | `re-search-forward' would). MATCHER regexps can be generated via | 374 | `re-search-forward' would). MATCHER regexps can be generated via |
| 375 | the function `regexp-opt'. | 375 | the function `regexp-opt'. |
| 376 | 376 | ||
| 377 | FORM is an expression, whose value should be a keyword element, | 377 | FORM is an expression, whose value should be a keyword element |
| 378 | evaluated when the keyword is (first) used in a buffer. This | 378 | of one of the above forms, evaluated when the keyword is (first) |
| 379 | feature can be used to provide a keyword that can only be | 379 | used in a buffer. This feature can be used to provide a keyword |
| 380 | generated when Font Lock mode is actually turned on. | 380 | that can only be generated when Font Lock mode is actually turned on. |
| 381 | 381 | ||
| 382 | HIGHLIGHT should be either MATCH-HIGHLIGHT or MATCH-ANCHORED. | 382 | HIGHLIGHT should be either MATCH-HIGHLIGHT or MATCH-ANCHORED. |
| 383 | 383 | ||