(Fbyte_code): Use SYMBOL_CONSTANT_P macro.

This commit is contained in:
Juanma Barranquero 2006-11-08 21:16:56 +00:00
parent 64ec26d628
commit eed1152fb7
2 changed files with 6 additions and 1 deletions

View 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):

View 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