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 | 7d61c211122656ef33ff2f8bd869683b1bba0dca (patch) | |
tree | 516951c48285400b448a7d8d04bcc0436f16af6b /lisp/ido.el | |
parent | 95ee4b8f84ffd1448be301e2d16cf0e9d7be36a1 (diff) | |
download | emacs-7d61c211122656ef33ff2f8bd869683b1bba0dca.tar.gz |
(ido-read-internal): Handle `confirm' and `confirm-after-completion'
values for the require-match argument.
Diffstat (limited to 'lisp/ido.el')
-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)) |