diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2008-12-20 10:30:06 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2008-12-20 10:30:06 +0000 |
commit | 5abbc8e93897454e9839b4d9febcf7966dbbfe9e (patch) | |
tree | 4eba093fee243fca4b8778545cf2da884fafac7a /lisp | |
parent | acc490455ed813b1c6d6689cfb3d76795f3b9479 (diff) | |
download | emacs-5abbc8e93897454e9839b4d9febcf7966dbbfe9e.tar.gz |
(ido-read-internal): Handle `confirm' and `confirm-after-completion'
values for the require-match argument.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ido.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/ido.el b/lisp/ido.el index a25c13c301b..c877102f8ea 100644 --- a/lisp/ido.el +++ b/lisp/ido.el @@ -1803,6 +1803,10 @@ PROMPT is the prompt to give to the user. 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)) |