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:
parent
789cb0f954
commit
ad3d50ef6d
1 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue