Mercurial > emacs
diff src/bytecode.c @ 9894:a541739a1ba8
(Fbyte_code): Special case for buffer-local objects is now handled by the more
general test. Simplify.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 11 Nov 1994 07:34:37 +0000 |
parents | c8c24d83ac00 |
children | c681703f7ce3 |
line wrap: on
line diff
--- a/src/bytecode.c Fri Nov 11 07:34:14 1994 +0000 +++ b/src/bytecode.c Fri Nov 11 07:34:37 1994 +0000 @@ -341,20 +341,8 @@ else { v2 = XSYMBOL (v1)->value; -#ifdef SWITCH_ENUM_BUG - switch ((int) XTYPE (v2)) -#else - switch (XTYPE (v2)) -#endif - { - case Lisp_Symbol: - if (!EQ (v2, Qunbound)) - break; - case Lisp_Misc: - case Lisp_Buffer_Local_Value: - case Lisp_Some_Buffer_Local_Value: - v2 = Fsymbol_value (v1); - } + if (MISCP (v2) || EQ (v2, Qunbound)) + v2 = Fsymbol_value (v1); } PUSH (v2); break;