# HG changeset patch # User Romain Francoise # Date 1134559311 0 # Node ID 3ee5685f7930ecd7258b85f0d49a7fc5be3c46b9 # Parent d263a07df092d8dd24d8aad04c81347ece31f445 (Customizing Keywords): Rename `append' to `how'. Fix typo. diff -r d263a07df092 -r 3ee5685f7930 lispref/ChangeLog --- a/lispref/ChangeLog Wed Dec 14 11:21:24 2005 +0000 +++ b/lispref/ChangeLog Wed Dec 14 11:21:51 2005 +0000 @@ -1,3 +1,8 @@ +2005-12-14 Romain Francoise + + * modes.texi (Customizing Keywords): Rename `append' to `how'. + Fix typo. + 2005-12-11 Juri Linkov * minibuf.texi (Completion Commands): Add mention of read-file-name diff -r d263a07df092 -r 3ee5685f7930 lispref/modes.texi --- a/lispref/modes.texi Wed Dec 14 11:21:24 2005 +0000 +++ b/lispref/modes.texi Wed Dec 14 11:21:51 2005 +0000 @@ -2638,7 +2638,7 @@ search-based fontification rules to a major mode, and @code{font-lock-remove-keywords} to removes rules. -@defun font-lock-add-keywords mode keywords &optional append +@defun 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 -@code{font-lock-keywords}. If the optional argument @var{append} is +@code{font-lock-keywords}. If the optional argument @var{how} is @code{set}, they are used to replace the value of -@code{font-lock-keywords}. If @var{append} is any other -non-@code{nil} value, they are added at the end of -@code{font-lock-keywords}. +@code{font-lock-keywords}. If @var{how} is any other non-@code{nil} +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