From: Lute Kamstra Date: Mon, 25 Apr 2005 11:12:33 +0000 (+0000) Subject: (font-lock-syntactic-face-function): Fix docstring. X-Git-Tag: ttn-vms-21-2-B4~752 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8ba81e936dcbe7d5e8dce22711714918898b0554;p=emacs.git (font-lock-syntactic-face-function): Fix docstring. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8820980bf7d..34240ae9124 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2005-04-25 Lute Kamstra + + * font-core.el (font-lock-defaults): Fix docstring. + + * font-lock.el (font-lock-syntactic-face-function): Fix docstring. + 2005-04-25 Kenichi Handa * international/mule-cmds.el (select-safe-coding-system): Don't diff --git a/lisp/font-lock.el b/lisp/font-lock.el index d82aade9c84..91977bcb6f2 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -496,7 +496,7 @@ sometimes be slightly incorrect.") "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 @@ Major/minor modes can set this variable if they know which option applies.") ;;;###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'.