diff options
| author | Chong Yidong | 2008-12-20 10:30:06 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-12-20 10:30:06 +0000 |
| commit | 7d61c211122656ef33ff2f8bd869683b1bba0dca (patch) | |
| tree | 516951c48285400b448a7d8d04bcc0436f16af6b | |
| parent | 95ee4b8f84ffd1448be301e2d16cf0e9d7be36a1 (diff) | |
| download | emacs-7d61c211122656ef33ff2f8bd869683b1bba0dca.tar.gz emacs-7d61c211122656ef33ff2f8bd869683b1bba0dca.zip | |
(ido-read-internal): Handle `confirm' and `confirm-after-completion'
values for the require-match argument.
| -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. | |||
| 1803 | DEFAULT if given is the default item to start with. | 1803 | DEFAULT if given is the default item to start with. |
| 1804 | If REQUIRE-MATCH is non-nil, an existing file must be selected. | 1804 | If REQUIRE-MATCH is non-nil, an existing file must be selected. |
| 1805 | If INITIAL is non-nil, it specifies the initial input string." | 1805 | If INITIAL is non-nil, it specifies the initial input string." |
| 1806 | ;; Ido does not implement the `confirm' and | ||
| 1807 | ;; `confirm-after-completion' values of REQUIRE-MATCH. | ||
| 1808 | (if (memq require-match '(confirm confirm-after-completion)) | ||
| 1809 | (setq require-match nil)) | ||
| 1806 | (let | 1810 | (let |
| 1807 | ((ido-cur-item item) | 1811 | ((ido-cur-item item) |
| 1808 | (ido-entry-buffer (current-buffer)) | 1812 | (ido-entry-buffer (current-buffer)) |