changeset 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 4441c4bcb376
children 0eb68c6c452a
files src/fileio.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);
 	}
     }