Mercurial > hg > xemacs-beta
diff lisp/font-lock.el @ 1027:089f79dae3ab
[xemacs-hg @ 2002-10-03 14:40:24 by stephent]
improve docstring <87smznk2tm.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Thu, 03 Oct 2002 14:40:29 +0000 |
parents | 665fe33715d6 |
children | 10738b72057d |
line wrap: on
line diff
--- a/lisp/font-lock.el Thu Oct 03 13:54:15 2002 +0000 +++ b/lisp/font-lock.el Thu Oct 03 14:40:29 2002 +0000 @@ -1714,9 +1714,8 @@ ;; Various functions. (defun font-lock-compile-keywords (keywords) - "Compile KEYWORDS into the form (t KEYWORD ...). -Here KEYWORD is of the form (MATCHER HIGHLIGHT ...) as shown in the -`font-lock-keywords' doc string." + "Compile KEYWORDS (a list) and return the list of compiled keywords. +Each keyword has the form (MATCHER HIGHLIGHT ...). See `font-lock-keywords'." (if (eq (car-safe keywords) t) keywords (cons t (mapcar 'font-lock-compile-keyword keywords))))