;;; ido.el --- interactively do things with buffers and files.
;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
-;; 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+;; 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
;; Author: Kim F. Storm <storm@cua.dk>
;; Based on: iswitchb by Stephen Eglen <stephen@cns.ed.ac.uk>
DEFAULT if given is the default item to start with.
If REQUIRE-MATCH is non-nil, an existing file must be selected.
If INITIAL is non-nil, it specifies the initial input string."
+ ;; Ido does not implement the `confirm' and
+ ;; `confirm-after-completion' values of REQUIRE-MATCH.
+ (if (memq require-match '(confirm confirm-after-completion))
+ (setq require-match nil))
(let
((ido-cur-item item)
(ido-entry-buffer (current-buffer))