diff options
author | Karl Heuer <kwzh@gnu.org> | 1994-11-15 22:54:15 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1994-11-15 22:54:15 +0000 |
commit | 021a5a9a4c87bf474188ad91d0b771d5b7330fa4 (patch) | |
tree | f2150537c8c685a2afe7689f2382d0de2d990531 /src/textprop.c | |
parent | 5aa7fadc6657d0c33d358147b3e048fe590e26ac (diff) | |
download | emacs-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.c | 2 |
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; |