[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/fileio.c,v
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/src/fileio.c,v |
Date: |
Sun, 24 Feb 2008 10:09:19 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Miles Bader <miles> 08/02/24 10:09:07
Index: src/fileio.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/fileio.c,v
retrieving revision 1.603
retrieving revision 1.604
diff -u -b -r1.603 -r1.604
--- src/fileio.c 23 Feb 2008 23:12:52 -0000 1.603
+++ src/fileio.c 24 Feb 2008 10:09:03 -0000 1.604
@@ -6619,19 +6619,25 @@
DEFVAR_BOOL ("insert-default-directory", &insert_default_directory,
doc: /* *Non-nil means when reading a filename start with
default dir in minibuffer.
-If the initial minibuffer contents are non-empty, you can usually
-request a default filename by typing RETURN without editing. For some
-commands, exiting with an empty minibuffer has a special meaning,
-such as making the current buffer visit no file in the case of
-`set-visited-file-name'.
+
+When the initial minibuffer contents show a name of a file or a directory,
+typing RETURN without editing the initial contents is equivalent to typing
+the default file name.
+
If this variable is non-nil, the minibuffer contents are always
-initially non-empty and typing RETURN without editing will fetch the
+initially non-empty, and typing RETURN without editing will fetch the
default name, if one is provided. Note however that this default name
-is not necessarily the name originally inserted in the minibuffer, if
-that is just the default directory.
+is not necessarily the same as initial contents inserted in the minibuffer,
+if the initial contents is just the default directory.
+
If this variable is nil, the minibuffer often starts out empty. In
that case you may have to explicitly fetch the next history element to
-request the default name. */);
+request the default name; typing RETURN without editing will leave
+the minibuffer empty.
+
+For some commands, exiting with an empty minibuffer has a special meaning,
+such as making the current buffer visit no file in the case of
+`set-visited-file-name'. */);
insert_default_directory = 1;
DEFVAR_BOOL ("vms-stmlf-recfm", &vms_stmlf_recfm,
- [Emacs-diffs] Changes to emacs/src/fileio.c,v, Miles Bader, 2008/02/01
- [Emacs-diffs] Changes to emacs/src/fileio.c,v, Stefan Monnier, 2008/02/05
- [Emacs-diffs] Changes to emacs/src/fileio.c,v, Stefan Monnier, 2008/02/12
- [Emacs-diffs] Changes to emacs/src/fileio.c,v, Stefan Monnier, 2008/02/14
- [Emacs-diffs] Changes to emacs/src/fileio.c,v, Chong Yidong, 2008/02/23
- [Emacs-diffs] Changes to emacs/src/fileio.c,v,
Miles Bader <=
- [Emacs-diffs] Changes to emacs/src/fileio.c,v, Stefan Monnier, 2008/02/26