Mercurial > emacs
diff doc/lispref/modes.texi @ 102151:328f4b370b74
Remove duplicate words.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Fri, 20 Feb 2009 12:36:50 +0000 |
parents | 1a1c4c8eb2c8 |
children | e81a0c5f14b1 |
line wrap: on
line diff
--- a/doc/lispref/modes.texi Fri Feb 20 11:39:30 2009 +0000 +++ b/doc/lispref/modes.texi Fri Feb 20 12:36:50 2009 +0000 @@ -376,7 +376,7 @@ letters and other printing characters as special commands. @item -Major modes modes for editing text should not define @key{RET} to do +Major modes for editing text should not define @key{RET} to do anything other than insert a newline. However, it is ok for specialized modes for text that users don't directly edit, such as Dired and Info modes, to redefine @key{RET} to do something entirely @@ -2708,7 +2708,7 @@ You can use @code{font-lock-add-keywords} to add additional search-based fontification rules to a major mode, and -@code{font-lock-remove-keywords} to removes rules. +@code{font-lock-remove-keywords} to remove rules. @defun font-lock-add-keywords mode keywords &optional how This function adds highlighting @var{keywords}, for the current buffer