emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r102683: Ask for confirmation in ido-


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r102683: Ask for confirmation in ido-file-internal (Bug#1238).
Date: Fri, 17 Dec 2010 18:56:03 +0800
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 102683
author: Ryan Twitchell <address@hidden>
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Fri 2010-12-17 18:56:03 +0800
message:
  Ask for confirmation in ido-file-internal (Bug#1238).
  
  * ido.el (ido-file-internal): Ask for confirmation before
  overwriting an existing file (Bug#1238).
modified:
  lisp/ChangeLog
  lisp/ido.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-12-17 04:04:06 +0000
+++ b/lisp/ChangeLog    2010-12-17 10:56:03 +0000
@@ -1,3 +1,8 @@
+2010-12-17  Ryan Twitchell  <address@hidden>  (tiny change)
+
+       * ido.el (ido-file-internal): Ask for confirmation before
+       overwriting an existing file (Bug#1238).
+
 2010-12-16  Chong Yidong  <address@hidden>
 
        * tool-bar.el (tool-bar-setup): Add separators.

=== modified file 'lisp/ido.el'
--- a/lisp/ido.el       2010-12-13 15:27:36 +0000
+++ b/lisp/ido.el       2010-12-17 10:56:03 +0000
@@ -2430,7 +2430,7 @@
        (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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]