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: Romain Francoise
Subject: [Emacs-diffs] Changes to emacs/lispref/modes.texi
Date: Wed, 14 Dec 2005 11:21:51 +0000

Index: emacs/lispref/modes.texi
diff -u emacs/lispref/modes.texi:1.126 emacs/lispref/modes.texi:1.127
--- emacs/lispref/modes.texi:1.126      Wed Nov 16 18:11:34 2005
+++ emacs/lispref/modes.texi    Wed Dec 14 11:21:51 2005
@@ -2638,7 +2638,7 @@
 search-based fontification rules to a major mode, and
 @code{font-lock-remove-keywords} to removes rules.
 
address@hidden font-lock-add-keywords mode keywords &optional append
address@hidden font-lock-add-keywords mode keywords &optional how
 This function adds highlighting @var{keywords}, for the current buffer
 or for major mode @var{mode}.  The argument @var{keywords} should be a
 list with the same format as the variable @code{font-lock-keywords}.
@@ -2654,11 +2654,10 @@
 @code{font-lock-add-keywords} is usually used in mode hook functions.
 
 By default, @var{keywords} are added at the beginning of
address@hidden  If the optional argument @var{append} is
address@hidden  If the optional argument @var{how} is
 @code{set}, they are used to replace the value of
address@hidden  If @var{append} is any other
address@hidden value, they are added at the end of
address@hidden
address@hidden  If @var{how} is any other address@hidden
+value, they are added at the end of @code{font-lock-keywords}.
 
 Some modes provide specialized support you can use in additional
 highlighting patterns.  See the variables
@@ -2677,7 +2676,7 @@
 This function removes @var{keywords} from @code{font-lock-keywords}
 for the current buffer or for major mode @var{mode}.  As in
 @code{font-lock-add-keywords}, @var{mode} should be a major mode
-command name or @code{nil}.  All the caveats and requirments for
+command name or @code{nil}.  All the caveats and requirements for
 @code{font-lock-add-keywords} apply here too.
 @end defun
 




reply via email to

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