/[emacs]/emacs/lispref/modes.texi
ViewVC logotype

Diff of /emacs/lispref/modes.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.42 by rms, Sun Nov 11 20:08:27 2001 UTC revision 1.43 by rms, Tue Dec 11 06:10:32 2001 UTC
# Line 1824  Find text by calling @var{function}, and Line 1824  Find text by calling @var{function}, and
1824  it finds using @code{font-lock-keyword-face}.  it finds using @code{font-lock-keyword-face}.
1825    
1826  When @var{function} is called, it receives one argument, the limit of  When @var{function} is called, it receives one argument, the limit of
1827  the search.  It should return non-@code{nil} if it succeeds, and set the  the search; it should searching at point, and not search beyond the
1828  match data to describe the match that was found.  limit.  It should return non-@code{nil} if it succeeds, and set the
1829    match data to describe the match that was found.  Returning @code{nil}
1830    indicates failure of the search.
1831    
1832    Fontification will call @var{function} repeatedly with the same limit,
1833    and with point where the previous invocation left it, until
1834    @var{function} fails.  On failure, @var{function} need not reset point
1835    in any particular way.
1836    
1837  @item (@var{matcher} . @var{match})  @item (@var{matcher} . @var{match})
1838  In this kind of element, @var{matcher} is either a regular  In this kind of element, @var{matcher} is either a regular

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26