Mercurial > hg > xemacs-beta
changeset 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 | 6294b2d3cb3f |
children | b03923afd851 |
files | lisp/ChangeLog lisp/font-lock.el |
diffstat | 2 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Thu Oct 03 13:54:15 2002 +0000 +++ b/lisp/ChangeLog Thu Oct 03 14:40:29 2002 +0000 @@ -1,3 +1,7 @@ +2002-10-03 Stephen J. Turnbull <stephen@xemacs.org> + + * font-lock.el (font-lock-compile-keywords): Improve docstring. + 2002-09-22 Ville Skyttä <ville.skytta@xemacs.org> * files.el (auto-mode-alist): Move entries for modes in packages
--- 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))))