diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/fileio.c | 24 |
2 files changed, 19 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index f7d6c07a086..3cf55438b83 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-02-09 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * fileio.c (syms_of_fileio) <insert-default-directory>: Doc fix. | ||
| 4 | |||
| 1 | 2008-02-05 Jason Rumney <jasonr@gnu.org> | 5 | 2008-02-05 Jason Rumney <jasonr@gnu.org> |
| 2 | 6 | ||
| 3 | * w32term.c (w32_read_socket) <WM_CHAR>: Use locale-coding-system | 7 | * w32term.c (w32_read_socket) <WM_CHAR>: Use locale-coding-system |
diff --git a/src/fileio.c b/src/fileio.c index ef2b0cfbb2e..c5bff5b8153 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -6630,19 +6630,25 @@ of file names regardless of the current language environment. */); | |||
| 6630 | 6630 | ||
| 6631 | DEFVAR_BOOL ("insert-default-directory", &insert_default_directory, | 6631 | DEFVAR_BOOL ("insert-default-directory", &insert_default_directory, |
| 6632 | doc: /* *Non-nil means when reading a filename start with default dir in minibuffer. | 6632 | doc: /* *Non-nil means when reading a filename start with default dir in minibuffer. |
| 6633 | If the initial minibuffer contents are non-empty, you can usually | 6633 | |
| 6634 | request a default filename by typing RETURN without editing. For some | 6634 | When the initial minibuffer contents show a name of a file or a directory, |
| 6635 | commands, exiting with an empty minibuffer has a special meaning, | 6635 | typing RETURN without editing the initial contents is equivalent to typing |
| 6636 | such as making the current buffer visit no file in the case of | 6636 | the default file name. |
| 6637 | `set-visited-file-name'. | 6637 | |
| 6638 | If this variable is non-nil, the minibuffer contents are always | 6638 | If this variable is non-nil, the minibuffer contents are always |
| 6639 | initially non-empty and typing RETURN without editing will fetch the | 6639 | initially non-empty, and typing RETURN without editing will fetch the |
| 6640 | default name, if one is provided. Note however that this default name | 6640 | default name, if one is provided. Note however that this default name |
| 6641 | is not necessarily the name originally inserted in the minibuffer, if | 6641 | is not necessarily the same as initial contents inserted in the minibuffer, |
| 6642 | that is just the default directory. | 6642 | if the initial contents is just the default directory. |
| 6643 | |||
| 6643 | If this variable is nil, the minibuffer often starts out empty. In | 6644 | If this variable is nil, the minibuffer often starts out empty. In |
| 6644 | that case you may have to explicitly fetch the next history element to | 6645 | that case you may have to explicitly fetch the next history element to |
| 6645 | request the default name. */); | 6646 | request the default name; typing RETURN without editing will leave |
| 6647 | the minibuffer empty. | ||
| 6648 | |||
| 6649 | For some commands, exiting with an empty minibuffer has a special meaning, | ||
| 6650 | such as making the current buffer visit no file in the case of | ||
| 6651 | `set-visited-file-name'. */); | ||
| 6646 | insert_default_directory = 1; | 6652 | insert_default_directory = 1; |
| 6647 | 6653 | ||
| 6648 | DEFVAR_BOOL ("vms-stmlf-recfm", &vms_stmlf_recfm, | 6654 | DEFVAR_BOOL ("vms-stmlf-recfm", &vms_stmlf_recfm, |