aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1994-11-15 22:54:15 +0000
committerKarl Heuer1994-11-15 22:54:15 +0000
commit8c8c10fe07eb412a5e7d41bb797557cf2c811431 (patch)
tree5b125fd29b42e7efcbdfa46418b2f346907ea49f /src
parente1befa751b517f76e629be225ac9b8858b6252f3 (diff)
downloademacs-8c8c10fe07eb412a5e7d41bb797557cf2c811431.tar.gz
emacs-8c8c10fe07eb412a5e7d41bb797557cf2c811431.zip
(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 2e76f0c17ab..cc252dacef1 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -61,7 +61,7 @@ Lisp_Object Qfront_sticky, Qrear_nonsticky;
61/* If o1 is a cons whose cdr is a cons, return non-zero and set o2 to 61/* If o1 is a cons whose cdr is a cons, return non-zero and set o2 to
62 the o1's cdr. Otherwise, return zero. This is handy for 62 the o1's cdr. Otherwise, return zero. This is handy for
63 traversing plists. */ 63 traversing plists. */
64#define PLIST_ELT_P(o1, o2) (CONSP (o1) && CONSP ((o2) = XCONS (o1)->cdr)) 64#define PLIST_ELT_P(o1, o2) (CONSP (o1) && ((o2)=XCONS (o1)->cdr, CONSP (o2)))
65 65
66Lisp_Object Vinhibit_point_motion_hooks; 66Lisp_Object Vinhibit_point_motion_hooks;
67 67