]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fbyte_code): Use SYMBOL_CONSTANT_P macro.
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 8 Nov 2006 21:16:56 +0000 (21:16 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 8 Nov 2006 21:16:56 +0000 (21:16 +0000)
src/ChangeLog
src/bytecode.c

index 9bcfd216afc3c38760a6e2be9b0564de41051180..12aaac62dd8d234de9aad323c89a884b957f156d 100644 (file)
@@ -1,3 +1,8 @@
+2006-11-08  Juanma Barranquero  <lekktu@gmail.com>
+
+       * bytecode.c (Fbyte_code):
+       * data.c (Fmakunbound): Use SYMBOL_CONSTANT_P macro.
+
 2006-11-06  Juanma Barranquero  <lekktu@gmail.com>
 
        * lread.c (syms_of_lread):
index 2facaa47062d02449df7c25e03ac01c63ed6ca0b..f96535354a4c0a758a640f06fd28c605d46ef519 100644 (file)
@@ -597,7 +597,7 @@ If the third argument is incorrect, Emacs may crash.  */)
            if (SYMBOLP (sym)
                && !EQ (val, Qunbound)
                && !XSYMBOL (sym)->indirect_variable
-               && !XSYMBOL (sym)->constant
+               && !SYMBOL_CONSTANT_P (sym)
                && !MISCP (XSYMBOL (sym)->value))
              XSYMBOL (sym)->value = val;
            else