1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(find-file-confirm-inexistent-file): Make it a defcustom.

Make nil the default.
This commit is contained in:
Richard M. Stallman 2007-07-03 02:54:27 +00:00
parent 789cb0f954
commit ad3d50ef6d

View file

@ -1051,8 +1051,11 @@ Recursive uses of the minibuffer will not be affected."
,@body)
(remove-hook 'minibuffer-setup-hook ,hook)))))
(defvar find-file-confirm-inexistent-file t
"If non-nil, `find-file' will require confirmation before visiting a new file.")
(defcustom find-file-confirm-inexistent-file nil
"If non-nil, `find-file' requires confirmation before visiting a new file."
:group 'find-file
:version "23.1"
:type 'boolean)
(defun find-file-read-args (prompt mustmatch)
(list (let ((find-file-default