diff lisp/ChangeLog @ 104703:d4c299706e80

(byte-compile-const-symbol-p): Recognize immutable variables like most-positive-fixnum. (byte-compile-setq-default): Check and warn if trying to assign to an immutable variable, or a non-variable.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 29 Aug 2009 14:44:45 +0000
parents eee42a220506
children e8247765661a
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Aug 29 08:10:34 2009 +0000
+++ b/lisp/ChangeLog	Sat Aug 29 14:44:45 2009 +0000
@@ -1,5 +1,10 @@
 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
+	Recognize immutable variables like most-positive-fixnum.
+	(byte-compile-setq-default): Check and warn if trying to assign
+	to an immutable variable, or a non-variable.
+
 	* progmodes/cc-vars.el (c-comment-continuation-stars):
 	* progmodes/cc-engine.el (c-looking-at-bos):
 	* progmodes/cc-cmds.el (c-toggle-auto-state)