aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStefan Monnier2008-11-18 18:26:08 +0000
committerStefan Monnier2008-11-18 18:26:08 +0000
commit35b05a7793f3e0f702ee8cd5aec68b2acbe815cd (patch)
treed253f382172c734760345c710f21e242cafcdea4 /doc
parentd0414e3656d63bbf5640c832cf6f630281bc23be (diff)
downloademacs-35b05a7793f3e0f702ee8cd5aec68b2acbe815cd.tar.gz
emacs-35b05a7793f3e0f702ee8cd5aec68b2acbe815cd.zip
(confirm-nonexistent-file-or-buffer):
Rename from find-file-confirm-nonexistent-file. (read-buffer-to-switch): Use it.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/files.texi14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index 28d9765a4b2..93a6161d782 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -240,14 +240,14 @@ moves or copies the file into the displayed directory. For details,
240see @ref{Drag and Drop}, and @ref{Misc Dired Features}. 240see @ref{Drag and Drop}, and @ref{Misc Dired Features}.
241 241
242@cindex creating files 242@cindex creating files
243@vindex find-file-confirm-nonexistent-file 243@vindex confirm-nonexistent-file-or-buffer
244 What if you want to create a new file? Just visit it. Emacs 244 What if you want to create a new file? Just visit it.
245displays @samp{(New file)} in the echo area, but in other respects
246behaves as if you had visited an existing empty file. If you make
247changes and save them, the file is created. If you change the
248variable @code{find-file-confirm-nonexistent-file} to @code{t}, then
249Emacs prompts you for confirmation before visiting a non-existent 245Emacs prompts you for confirmation before visiting a non-existent
250file. 246file, and displays @samp{(New file)} in the echo area, but in other
247respects behaves as if you had visited an existing empty file. If you
248make changes and save them, the file is created. If you change the
249variable @code{confirm-nonexistent-file-or-buffer} to @code{nil}, then
250Emacs will not even prompt you for confirmation.
251 251
252@kindex C-x C-v 252@kindex C-x C-v
253@findex find-alternate-file 253@findex find-alternate-file