aboutsummaryrefslogtreecommitdiffstats
path: root/src/textprop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/textprop.c')
-rw-r--r--src/textprop.c2
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. */)
883 if (NILP (position)) 883 if (NILP (position))
884 { 884 {
885 if (NILP (limit)) 885 if (NILP (limit))
886 position = make_number (SCHARS (object)); 886 position = make_number (0);
887 else 887 else
888 { 888 {
889 CHECK_NUMBER (limit); 889 CHECK_NUMBER (limit);