# HG changeset patch # User Lute Kamstra # Date 1114427422 0 # Node ID f83763576d20d6e434bad3a09159cb92760a27b7 # Parent eb334300d0393b86b7b0688c489cdd899fdc5bce (font-lock-syntactic-face-function): Fix docstring. diff -r eb334300d039 -r f83763576d20 lisp/font-lock.el --- 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'.