emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/modes.texi


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lispref/modes.texi
Date: Sat, 18 Jun 2005 09:53:58 -0400

Index: emacs/lispref/modes.texi
diff -c emacs/lispref/modes.texi:1.113 emacs/lispref/modes.texi:1.114
*** emacs/lispref/modes.texi:1.113      Wed Jun  8 15:32:01 2005
--- emacs/lispref/modes.texi    Sat Jun 18 13:53:55 2005
***************
*** 395,401 ****
  @item
  The mode should specify how Imenu should find the definitions or
  sections of a buffer, by setting up a buffer-local value for the
! variable @code{imenu-generic-expression}, for the pair of variables
  @code{imenu-prev-index-position-function} and
  @code{imenu-extract-index-name-function}, or for the variable
  @code{imenu-create-index-function} (@pxref{Imenu}).
--- 395,401 ----
  @item
  The mode should specify how Imenu should find the definitions or
  sections of a buffer, by setting up a buffer-local value for the
! variable @code{imenu-generic-expression}, for the two variables
  @code{imenu-prev-index-position-function} and
  @code{imenu-extract-index-name-function}, or for the variable
  @code{imenu-create-index-function} (@pxref{Imenu}).
***************
*** 2290,2297 ****
  It creates the submenu @var{menu-title} specified by @var{sub-alist}.
  
  The default value of @code{imenu-create-index-function} is
! @code{imenu-default-create-index-function}.  This function uses
! @code{imenu-prev-index-position-function} and
  @code{imenu-extract-index-name-function} to produce the index alist.
  However, if either of these two variables is @code{nil}, the default
  function uses @code{imenu-generic-expression} instead.
--- 2290,2297 ----
  It creates the submenu @var{menu-title} specified by @var{sub-alist}.
  
  The default value of @code{imenu-create-index-function} is
! @code{imenu-default-create-index-function}.  This function calls the
! value of @code{imenu-prev-index-position-function} and the value of
  @code{imenu-extract-index-name-function} to produce the index alist.
  However, if either of these two variables is @code{nil}, the default
  function uses @code{imenu-generic-expression} instead.
***************
*** 2456,2462 ****
  @end example
  
  If you use @code{regexp-opt} to produce the regular expression
! @var{matcher}, then you can use @code{regexp-opt-depth} (@pxref{Regexp
  Functions}) to calculate the value for @var{subexp}.
  
  @item (@var{matcher} . @var{facespec})
--- 2456,2462 ----
  @end example
  
  If you use @code{regexp-opt} to produce the regular expression
! @var{matcher}, you can use @code{regexp-opt-depth} (@pxref{Regexp
  Functions}) to calculate the value for @var{subexp}.
  
  @item (@var{matcher} . @var{facespec})
***************
*** 2657,2664 ****
  Some modes provide specialized support you can use in additional
  highlighting patterns.  See the variables
  @code{c-font-lock-extra-types}, @code{c++-font-lock-extra-types},
! @code{objc-font-lock-extra-types} and
! @code{java-font-lock-extra-types}, for example.
  
  @strong{Warning:} major mode functions must not call
  @code{font-lock-add-keywords} under any circumstances, either directly
--- 2657,2663 ----
  Some modes provide specialized support you can use in additional
  highlighting patterns.  See the variables
  @code{c-font-lock-extra-types}, @code{c++-font-lock-extra-types},
! and @code{java-font-lock-extra-types}, for example.
  
  @strong{Warning:} major mode functions must not call
  @code{font-lock-add-keywords} under any circumstances, either directly




reply via email to

[Prev in Thread] Current Thread [Next in Thread]