aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 7107bc5d9cd..ada69da29ba 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -4646,7 +4646,6 @@ string_buffer_position_lim (struct window *w, Lisp_Object string,
4646EMACS_INT 4646EMACS_INT
4647string_buffer_position (struct window *w, Lisp_Object string, EMACS_INT around_charpos) 4647string_buffer_position (struct window *w, Lisp_Object string, EMACS_INT around_charpos)
4648{ 4648{
4649 Lisp_Object limit, prop, pos;
4650 const int MAX_DISTANCE = 1000; 4649 const int MAX_DISTANCE = 1000;
4651 EMACS_INT found = string_buffer_position_lim (w, string, around_charpos, 4650 EMACS_INT found = string_buffer_position_lim (w, string, around_charpos,
4652 around_charpos + MAX_DISTANCE, 4651 around_charpos + MAX_DISTANCE,