Commit 5dadd3a2 authored by Jim Blandy's avatar Jim Blandy
Browse files

* minibuf.c (Fcompleting_read): Stop subtracting one from the

	starting position, so this function lives up to its doc
	string, which I think specifies an okay way to work.
parent d5045cf9
......@@ -847,7 +847,7 @@ Completion ignores case if the ambient value of\n\
CHECK_NUMBER (position, 0);
/* Convert to distance from end of input. */
pos = XINT (position) - 1 - XSTRING (init)->size;
pos = XINT (position) - XSTRING (init)->size;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment