changeset 26964:2939daf50656

Font-lock changes by Anders Lindgren. CWarn.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 21 Dec 1999 09:13:56 +0000
parents f281dfbf8cd2
children 048db40ddca6
files etc/NEWS
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Tue Dec 21 09:08:41 1999 +0000
+++ b/etc/NEWS	Tue Dec 21 09:13:56 1999 +0000
@@ -305,6 +305,12 @@
 
 Default is 0.25.
 
+** Changes in Font Lock
+
+*** The new function `font-lock-remove-keywords' can be used to remove
+font-lock keywords from the current buffer or from a specific major
+mode.
+
 ** Comint (subshell) changes
 
 Comint now includes new features to send commands to running processes
@@ -688,6 +694,13 @@
 
 ** New modes and packages
 
+*** The minor modes cwarn-mode and global-cwarn-mode highlights
+suspicious C and C++ constructions.  Currently, assignments inside
+expressions, semicolon following `if', `for' and `while' (except, of
+course, after a `do .. while' statement), and C++ functions with
+reference parameters are recognized.  The modes require font-lock mode
+to be enabled.
+
 *** 5x5.el is a simple puzzle game.
 
 *** hl-line.el provides a minor mode to highlight the current line.