Commit 509b05ed authored by Jim Blandy's avatar Jim Blandy

* fileio.c (Fread_filename): When calling Fcompleting_read,

	don't add one to the initial cursor position here.  Do it in
	Fcompleting_read, because that makes it live up to its
	documentation.
parent 45ee4e3f
......@@ -2976,7 +2976,7 @@ DIR defaults to current buffer's directory default.")
args[0] = insdef;
args[1] = initial;
insdef = Fconcat (2, args);
pos = make_number (XSTRING (dir)->size + 1);
pos = make_number (XSTRING (dir)->size);
insdef1 = Fcons (insdef, pos);
}
}
......
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