From: Richard M. Stallman Date: Tue, 3 Jul 2007 02:54:27 +0000 (+0000) Subject: (find-file-confirm-inexistent-file): Make it a defcustom. X-Git-Tag: emacs-pretest-23.0.90~12055 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ad3d50ef6dccf338a598332e4e7a11f477458b34;p=emacs.git (find-file-confirm-inexistent-file): Make it a defcustom. Make nil the default. --- diff --git a/lisp/files.el b/lisp/files.el index f6fd82d0462..873eeee7199 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -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