diff src/fileio.c @ 964:ea0c91e13641

* 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.
author Jim Blandy <jimb@redhat.com>
date Wed, 12 Aug 1992 13:51:24 +0000
parents 758218342a39
children c5aded0d488a
line wrap: on
line diff
--- a/src/fileio.c	Wed Aug 12 13:48:45 1992 +0000
+++ b/src/fileio.c	Wed Aug 12 13:51:24 1992 +0000
@@ -2976,7 +2976,7 @@
 	  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);
 	}
     }