From 35b05a7793f3e0f702ee8cd5aec68b2acbe815cd Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 18 Nov 2008 18:26:08 +0000 Subject: (confirm-nonexistent-file-or-buffer): Rename from find-file-confirm-nonexistent-file. (read-buffer-to-switch): Use it. --- doc/emacs/files.texi | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc') diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index 28d9765a4b..93a6161d78 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, see @ref{Drag and Drop}, and @ref{Misc Dired Features}. @cindex creating files -@vindex find-file-confirm-nonexistent-file - What if you want to create a new file? Just visit it. Emacs -displays @samp{(New file)} in the echo area, but in other respects -behaves as if you had visited an existing empty file. If you make -changes and save them, the file is created. If you change the -variable @code{find-file-confirm-nonexistent-file} to @code{t}, then +@vindex confirm-nonexistent-file-or-buffer + What if you want to create a new file? Just visit it. Emacs prompts you for confirmation before visiting a non-existent -file. +file, and displays @samp{(New file)} in the echo area, but in other +respects behaves as if you had visited an existing empty file. If you +make changes and save them, the file is created. If you change the +variable @code{confirm-nonexistent-file-or-buffer} to @code{nil}, then +Emacs will not even prompt you for confirmation. @kindex C-x C-v @findex find-alternate-file -- cgit v1.2.3