]> code.delx.au - gnu-emacs/commitdiff
* files.el (confirm-nonexistent-file-or-buffer): Allow
authorChong Yidong <cyd@stupidchicken.com>
Mon, 24 Nov 2008 19:13:45 +0000 (19:13 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 24 Nov 2008 19:13:45 +0000 (19:13 +0000)
`after-completion' value to request confirm only after TAB.
(confirm-nonexistent-file-or-buffer): New function.
(read-buffer-to-switch, find-file, find-file-other-window)
(find-file-other-frame, find-file-read-only)
(find-file-read-only-other-window)
(find-file-read-only-other-frame): Use it.
(switch-to-buffer-other-window, switch-to-buffer-other-frame): Doc
fix.

* minibuffer.el (minibuffer-complete-and-exit): Change
`confirm-only' value of minibuffer-completion-confirm to
`confirm', and handle a `confirm-after-completion' value.

lisp/ChangeLog

index 8af468915c5d194785a8b532eeb05d9dca0421e4..e4e3c665df16d0c02a8c0021819ee418c6dcdf9b 100644 (file)
@@ -1,3 +1,19 @@
+2008-11-24  Chong Yidong  <cyd@stupidchicken.com>
+
+       * files.el (confirm-nonexistent-file-or-buffer): Allow
+       `after-completion' value to request confirm only after TAB.
+       (confirm-nonexistent-file-or-buffer): New function.
+       (read-buffer-to-switch, find-file, find-file-other-window)
+       (find-file-other-frame, find-file-read-only)
+       (find-file-read-only-other-window)
+       (find-file-read-only-other-frame): Use it.
+       (switch-to-buffer-other-window, switch-to-buffer-other-frame): Doc
+       fix.
+
+       * minibuffer.el (minibuffer-complete-and-exit): Change
+       `confirm-only' value of minibuffer-completion-confirm to
+       `confirm', and handle a `confirm-after-completion' value.
+
 2008-11-24  Juanma Barranquero  <lekktu@gmail.com>
 
        * emacs-lisp/elp.el (elp-instrument-list): Fix 2nd arg of `signal'.