changeset 945:758218342a39

Add 1 to the offset position for cursor in minibuffer when reading file names in Fread_filename.
author Joseph Arceneaux <jla@gnu.org>
date Thu, 06 Aug 1992 03:32:15 +0000
parents 6bebb86e63c2
children ef045ff2cb94
files src/fileio.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Thu Aug 06 03:25:57 1992 +0000
+++ b/src/fileio.c	Thu Aug 06 03:32:15 1992 +0000
@@ -2976,7 +2976,7 @@
 	  args[0] = insdef;
 	  args[1] = initial;
 	  insdef = Fconcat (2, args);
-	  pos = make_number (XSTRING (dir)->size);
+	  pos = make_number (XSTRING (dir)->size + 1);
 	  insdef1 = Fcons (insdef, pos);
 	}
     }