Commit 395542c6 authored by Ryan Twitchell's avatar Ryan Twitchell Committed by Chong Yidong
Browse files

Ask for confirmation in ido-file-internal (Bug#1238).

* ido.el (ido-file-internal): Ask for confirmation before
overwriting an existing file (Bug#1238).
parent 4039c786
2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
* ido.el (ido-file-internal): Ask for confirmation before
overwriting an existing file (Bug#1238).
2010-12-16 Chong Yidong <cyd@stupidchicken.com>
 
* tool-bar.el (tool-bar-setup): Add separators.
......
......@@ -2430,7 +2430,7 @@ If cursor is not at the end of the user input, move to end of input."
(ido-record-command 'write-file filename)
(add-to-history 'file-name-history filename)
(ido-record-work-directory)
(write-file filename))
(write-file filename t))
((eq method 'read-only)
(ido-record-work-file filename)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment