diff options
author | Martin Rudalics <rudalics@gmx.at> | 2008-11-03 17:31:56 +0000 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2008-11-03 17:31:56 +0000 |
commit | 1e02f3cb586ca97cda9cd816eb8ed40c084aa264 (patch) | |
tree | df6209301c1e85649021d8dfc9438b63f75b9b3d /src/textprop.c | |
parent | 8e38a1a9bd8d2d793b3f315ced0b338b83a5e86e (diff) | |
download | emacs-1e02f3cb586ca97cda9cd816eb8ed40c084aa264.tar.gz |
(Fprevious_single_char_property_change): Return 0
when there's no change in a string. (Bug#1301)
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 6bc1938fadf..120c42843fe 100644 --- a/src/textprop.c +++ b/src/textprop.c @@ -883,7 +883,7 @@ back past position LIMIT; return LIMIT if nothing is found before LIMIT. */) if (NILP (position)) { if (NILP (limit)) - position = make_number (SCHARS (object)); + position = make_number (0); else { CHECK_NUMBER (limit); |