changeset 9946:571ddbef914a

(current_minor_maps): Avoid assignments in arguments to a type-test macro.
author Karl Heuer <kwzh@gnu.org>
date Tue, 15 Nov 1994 22:54:36 +0000
parents 9b2ecbd894e4
children 84efab2ce30b
files src/keymap.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/keymap.c	Tue Nov 15 22:54:15 1994 +0000
+++ b/src/keymap.c	Tue Nov 15 22:54:36 1994 +0000
@@ -812,9 +812,9 @@
   for (alist = Vminor_mode_map_alist;
        CONSP (alist);
        alist = XCONS (alist)->cdr)
-    if (CONSP (assoc = XCONS (alist)->car)
-	&& SYMBOLP (var = XCONS (assoc)->car)
-	&& ! EQ ((val = find_symbol_value (var)), Qunbound)
+    if ((assoc = XCONS (alist)->car, CONSP (assoc))
+	&& (var = XCONS (assoc)->car, SYMBOLP (var))
+	&& (val = find_symbol_value (var), ! EQ (val, Qunbound))
 	&& ! NILP (val))
       {
 	if (i >= cmm_size)