From 8c8c10fe07eb412a5e7d41bb797557cf2c811431 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 15 Nov 1994 22:54:15 +0000 Subject: [PATCH] (PLIST_ELT_P): Avoid assignments in arguments to a type-test macro. --- src/textprop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textprop.c b/src/textprop.c index 2e76f0c17ab..cc252dacef1 100644 --- a/src/textprop.c +++ b/src/textprop.c @@ -61,7 +61,7 @@ Lisp_Object Qfront_sticky, Qrear_nonsticky; /* If o1 is a cons whose cdr is a cons, return non-zero and set o2 to the o1's cdr. Otherwise, return zero. This is handy for traversing plists. */ -#define PLIST_ELT_P(o1, o2) (CONSP (o1) && CONSP ((o2) = XCONS (o1)->cdr)) +#define PLIST_ELT_P(o1, o2) (CONSP (o1) && ((o2)=XCONS (o1)->cdr, CONSP (o2))) Lisp_Object Vinhibit_point_motion_hooks; -- 2.39.5