summaryrefslogtreecommitdiff
path: root/src/keymap.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-11-15 22:54:36 +0000
committerKarl Heuer <kwzh@gnu.org>1994-11-15 22:54:36 +0000
commita762cd9b4d91a73ad714cdddedf23a3b76bc923e (patch)
tree1c3e097802be90726e9b9c87a9d523a663190d71 /src/keymap.c
parent021a5a9a4c87bf474188ad91d0b771d5b7330fa4 (diff)
downloademacs-a762cd9b4d91a73ad714cdddedf23a3b76bc923e.tar.gz
(current_minor_maps): Avoid assignments in arguments to a type-test macro.
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 2dbf35972a3..d75a10ae13b 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -812,9 +812,9 @@ current_minor_maps (modeptr, mapptr)
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)