summaryrefslogtreecommitdiff
path: root/src/textprop.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-11-15 22:54:15 +0000
committerKarl Heuer <kwzh@gnu.org>1994-11-15 22:54:15 +0000
commit021a5a9a4c87bf474188ad91d0b771d5b7330fa4 (patch)
treef2150537c8c685a2afe7689f2382d0de2d990531 /src/textprop.c
parent5aa7fadc6657d0c33d358147b3e048fe590e26ac (diff)
downloademacs-021a5a9a4c87bf474188ad91d0b771d5b7330fa4.tar.gz
(PLIST_ELT_P): Avoid assignments in arguments to a type-test macro.
Diffstat (limited to 'src/textprop.c')
-rw-r--r--src/textprop.c2
1 files changed, 1 insertions, 1 deletions
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;