diff options
author | Jim Blandy <jimb@redhat.com> | 1993-05-13 03:17:03 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1993-05-13 03:17:03 +0000 |
commit | bf93577aa796788d31abc6100c89c2ccd68926ff (patch) | |
tree | 80e5df9c86608a48ac6804550b34960b2ed0658b /src/textprop.c | |
parent | 6d4ab1e58a4371fe504caa6cf3778a0b7b8a6fec (diff) | |
download | emacs-bf93577aa796788d31abc6100c89c2ccd68926ff.tar.gz |
* textprop.c (Fnext_single_property_change,
Fprevious_single_property_change): Pass arguments to textget in
the right order.
Diffstat (limited to 'src/textprop.c')
-rw-r--r-- | src/textprop.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/textprop.c b/src/textprop.c index 06ae670c47f..db618c7e4c7 100644 --- a/src/textprop.c +++ b/src/textprop.c @@ -524,9 +524,10 @@ If the value is non-nil, it is a position greater than POS, never equal.") if (NULL_INTERVAL_P (i)) return Qnil; - here_val = textget (prop, i->plist); + here_val = textget (i->plist, prop); next = next_interval (i); - while (! NULL_INTERVAL_P (next) && EQ (here_val, textget (prop, next->plist))) + while (! NULL_INTERVAL_P (next) + && EQ (here_val, textget (next->plist, prop))) next = next_interval (next); if (NULL_INTERVAL_P (next)) @@ -586,10 +587,10 @@ If the value is non-nil, it is a position less than POS, never equal.") if (NULL_INTERVAL_P (i)) return Qnil; - here_val = textget (prop, i->plist); + here_val = textget (i->plist, prop); previous = previous_interval (i); while (! NULL_INTERVAL_P (previous) - && EQ (here_val, textget (prop, previous->plist))) + && EQ (here_val, textget (previous->plist, prop))) previous = previous_interval (previous); if (NULL_INTERVAL_P (previous)) return Qnil; |