Mercurial > emacs
diff src/textprop.c @ 2762:dd28ed1e1928
* textprop.c (Fnext_single_property_change,
Fprevious_single_property_change): Pass arguments to textget in
the right order.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Thu, 13 May 1993 03:17:03 +0000 |
parents | 54179ef9ce35 |
children | 789c11177579 |
line wrap: on
line diff
--- a/src/textprop.c Thu May 13 03:14:39 1993 +0000 +++ b/src/textprop.c Thu May 13 03:17:03 1993 +0000 @@ -524,9 +524,10 @@ 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 (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;