Function: confirm-nonexistent-file-or-buffer
confirm-nonexistent-file-or-buffer is a byte-compiled function defined
in files.el.gz.
Signature
(confirm-nonexistent-file-or-buffer)
Documentation
Whether to request confirmation before visiting a new file or buffer.
The variable confirm-nonexistent-file-or-buffer(var)/confirm-nonexistent-file-or-buffer(fun) determines the
return value, which may be passed as the REQUIRE-MATCH arg to
read-buffer or find-file-read-args.
Probably introduced at or before Emacs version 23.1.
Source Code
;; Defined in /usr/src/emacs/lisp/files.el.gz
(defun confirm-nonexistent-file-or-buffer ()
"Whether to request confirmation before visiting a new file or buffer.
The variable `confirm-nonexistent-file-or-buffer' determines the
return value, which may be passed as the REQUIRE-MATCH arg to
`read-buffer' or `find-file-read-args'."
(cond ((eq confirm-nonexistent-file-or-buffer 'after-completion)
'confirm-after-completion)
(confirm-nonexistent-file-or-buffer
'confirm)
(t nil)))