aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
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