aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/progmodes/cwarn.el4
2 files changed, 10 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e20bdca5859..e5a5c011d10 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12001-12-05 Eli Zaretskii <eliz@is.elta.co.il>
2
3 * progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
4 Add shift-assignment operators to those highlighted, and highlight
5 the whole operator rather than just the "=". From Broadey Kevin
6 <Kevin.Broadey@motorola.com>.
7
12001-12-04 Juanma Barranquero <lektu@terra.es> 82001-12-04 Juanma Barranquero <lektu@terra.es>
2 9
3 * files.el (save-abbrevs, save-some-buffers): Don't ask the user 10 * files.el (save-abbrevs, save-some-buffers): Don't ask the user
diff --git a/lisp/progmodes/cwarn.el b/lisp/progmodes/cwarn.el
index ebc65edf076..b1f890dea93 100644
--- a/lisp/progmodes/cwarn.el
+++ b/lisp/progmodes/cwarn.el
@@ -394,7 +394,9 @@ brace."
394 (let ((res nil)) 394 (let ((res nil))
395 (while 395 (while
396 (progn 396 (progn
397 (setq res (re-search-forward "[^!<>=]\\(=\\)[^=]" limit t)) 397 (setq res (re-search-forward
398 "[^!<>=]\\(\\([-+*/%&^|]\\|<<\\|>>\\)?=\\)[^=]"
399 limit t))
398 (and res 400 (and res
399 (save-excursion 401 (save-excursion
400 (goto-char (match-beginning 1)) 402 (goto-char (match-beginning 1))