]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fmakunbound): Use SYMBOL_CONSTANT_P macro.
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 8 Nov 2006 21:13:44 +0000 (21:13 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 8 Nov 2006 21:13:44 +0000 (21:13 +0000)
src/data.c

index 761159ec06601b52c4976dcba2e70779b2dcdd81..c9ece8d142c9ae053690b0e7279120ca4db706e0 100644 (file)
@@ -606,7 +606,7 @@ Return SYMBOL.  */)
      register Lisp_Object symbol;
 {
   CHECK_SYMBOL (symbol);
-  if (XSYMBOL (symbol)->constant)
+  if (SYMBOL_CONSTANT_P (symbol))
     xsignal1 (Qsetting_constant, symbol);
   Fset (symbol, Qunbound);
   return symbol;