From: Gerd Moellmann Date: Tue, 21 Dec 1999 09:13:56 +0000 (+0000) Subject: Font-lock changes by Anders Lindgren. X-Git-Tag: emacs-pretest-21.0.90~5653 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3476b54a0c4b081c406110a2efc710b2ac903120;p=emacs.git Font-lock changes by Anders Lindgren. CWarn. --- diff --git a/etc/NEWS b/etc/NEWS index a7234a11b6b..5f61fcfc048 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -305,6 +305,12 @@ specifies a number of lines. If nil, don't resize. 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 @@ appropriate for C-style escape sequences in strings. ** 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.