aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoseph Arceneaux1992-08-06 03:32:15 +0000
committerJoseph Arceneaux1992-08-06 03:32:15 +0000
commitca2c38f674beed82ff7ac38a31261649a6c22fb6 (patch)
tree03760788802cf06ab8e714b358e38b75c8258e8a /src
parent921a89355edf5019b6036f49179905a1f085bf70 (diff)
downloademacs-ca2c38f674beed82ff7ac38a31261649a6c22fb6.tar.gz
emacs-ca2c38f674beed82ff7ac38a31261649a6c22fb6.zip
Add 1 to the offset position for cursor in minibuffer when reading
file names in Fread_filename.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index bb50ac499fa..755eadc64dc 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2976,7 +2976,7 @@ DIR defaults to current buffer's directory default.")
2976 args[0] = insdef; 2976 args[0] = insdef;
2977 args[1] = initial; 2977 args[1] = initial;
2978 insdef = Fconcat (2, args); 2978 insdef = Fconcat (2, args);
2979 pos = make_number (XSTRING (dir)->size); 2979 pos = make_number (XSTRING (dir)->size + 1);
2980 insdef1 = Fcons (insdef, pos); 2980 insdef1 = Fcons (insdef, pos);
2981 } 2981 }
2982 } 2982 }