Mercurial > emacs
changeset 100594:e26b0f24c1e1
(ido-read-internal): Handle `confirm' and `confirm-after-completion'
values for the require-match argument.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 20 Dec 2008 10:30:06 +0000 |
parents | 76cdf125b2f5 |
children | 04f1da2d6ad5 |
files | lisp/ido.el |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ido.el Sat Dec 20 10:29:46 2008 +0000 +++ b/lisp/ido.el Sat Dec 20 10:30:06 2008 +0000 @@ -1803,6 +1803,10 @@ 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))