Mercurial > emacs
diff lisp/font-lock.el @ 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 | 13d42889189f |
children | 330b0fc9b83d 2d137ca54960 |
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'.