diff options
| author | Joseph Arceneaux | 1992-08-06 03:32:15 +0000 |
|---|---|---|
| committer | Joseph Arceneaux | 1992-08-06 03:32:15 +0000 |
| commit | ca2c38f674beed82ff7ac38a31261649a6c22fb6 (patch) | |
| tree | 03760788802cf06ab8e714b358e38b75c8258e8a /src | |
| parent | 921a89355edf5019b6036f49179905a1f085bf70 (diff) | |
| download | emacs-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.c | 2 |
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 | } |