aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2008-11-26 15:32:49 +0000
committerChong Yidong <[email protected]>2008-11-26 15:32:49 +0000
commit0b85dece97d823e8b191adb2a17d850bb4074c19 (patch)
tree4c90641678bee2c0a9fa4d3ae5a6564b5e831b27 /doc
parentb01731eb13824004284e672165fda24e5589ca3a (diff)
(Visiting): Rewrite paragraph for clarity.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/files.texi16
1 files changed, 7 insertions, 9 deletions
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index ac072dbeaa..3c338fcdfe 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -247,15 +247,13 @@ changes and save them, the file is created.
@cindex minibuffer confirmation
@cindex confirming in the minibuffer
- When you attempt to visit a new file, Emacs might prompt you for
-confirmation first, in case you entered the wrong file name. Emacs
-asks for confirmation only if the last key you typed in the
-minibuffer, before submitting the input with @key{RET}, was @key{TAB}
-(@code{minibuffer-complete}). This catches a common mistake, in which
-one types @key{RET} before realizing that @key{TAB} did not complete
-far enough to yield a desired file name (@pxref{Completion}). Emacs
-asks for confirmation by putting the message @samp{[Confirm]} in the
-minibuffer; type @key{RET} again to confirm and visit the file.
+ When @key{TAB} completion results in a nonexistent file name and you
+type @key{RET} immediately to visit it, Emacs asks for confirmation
+because it is quite possible that you expected completion to go
+further and give you an existing file's name. Type @key{RET} to
+confirm and visit the nonexistent file. The string @samp{[Confirm]}
+appears for a short time after the file name to indicate the need to
+confirm in this way.
@vindex confirm-nonexistent-file-or-buffer
The variable @code{confirm-nonexistent-file-or-buffer} controls