Mercurial > emacs
changeset 61826:f83763576d20
(font-lock-syntactic-face-function): Fix docstring.
author | Lute Kamstra <lute@gnu.org> |
---|---|
date | Mon, 25 Apr 2005 11:10:22 +0000 |
parents | eb334300d039 |
children | e8d6cd9d572f |
files | lisp/font-lock.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/font-lock.el Mon Apr 25 11:09:30 2005 +0000 +++ b/lisp/font-lock.el Mon Apr 25 11:10:22 2005 +0000 @@ -496,7 +496,7 @@ "Function to determine which face to use when fontifying syntactically. The function is called with a single parameter (the state as returned by `parse-partial-sexp' at the beginning of the region to highlight) and -should return a face.") +should return a face. This is normally set via `font-lock-defaults'.") (defvar font-lock-syntactic-keywords nil "A list of the syntactic keywords to highlight. @@ -646,6 +646,7 @@ ;;;###autoload (defun font-lock-add-keywords (mode keywords &optional append) "Add highlighting KEYWORDS for MODE. + MODE should be a symbol, the major mode command name, such as `c-mode' or nil. If nil, highlighting keywords are added for the current buffer. KEYWORDS should be a list; see the variable `font-lock-keywords'.