diff options
author | Stefan Monnier <[email protected]> | 2008-11-18 18:26:08 +0000 |
---|---|---|
committer | Stefan Monnier <[email protected]> | 2008-11-18 18:26:08 +0000 |
commit | 35b05a7793f3e0f702ee8cd5aec68b2acbe815cd (patch) | |
tree | d253f382172c734760345c710f21e242cafcdea4 /doc | |
parent | d0414e3656d63bbf5640c832cf6f630281bc23be (diff) |
(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.texi | 14 |
1 files changed, 7 insertions, 7 deletions
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 |