aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer <[email protected]>1994-11-15 22:54:15 +0000
committerKarl Heuer <[email protected]>1994-11-15 22:54:15 +0000
commit8c8c10fe07eb412a5e7d41bb797557cf2c811431 (patch)
tree5b125fd29b42e7efcbdfa46418b2f346907ea49f /src
parente1befa751b517f76e629be225ac9b8858b6252f3 (diff)
(PLIST_ELT_P): Avoid assignments in arguments to a type-test macro.
Diffstat (limited to 'src')
-rw-r--r--src/textprop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textprop.c b/src/textprop.c
index 2e76f0c17a..cc252dacef 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;