]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fbyte_code): Special case for buffer-local objects is now handled by the more
authorKarl Heuer <kwzh@gnu.org>
Fri, 11 Nov 1994 07:34:37 +0000 (07:34 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 11 Nov 1994 07:34:37 +0000 (07:34 +0000)
general test.  Simplify.

src/bytecode.c

index 4e458ebe79c11235c0408c0074808dde5efeee2a..f201adebfc6ed12891f03622fca6f855492f84a7 100644 (file)
@@ -341,20 +341,8 @@ If the third argument is incorrect, Emacs may crash.")
          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;