Mercurial > emacs
changeset 58458:1708184cc8da
(ido-read-internal): Fix require-match check when
ido-directory-too-big is set.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Tue, 23 Nov 2004 15:18:16 +0000 |
parents | d9968d54d759 |
children | d9e5fd89f5cf |
files | lisp/ido.el |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ido.el Tue Nov 23 15:17:54 2004 +0000 +++ b/lisp/ido.el Tue Nov 23 15:18:16 2004 +0000 @@ -1763,7 +1763,10 @@ (setq ido-set-default-item t)))) ;; Handling the require-match must be done in a better way. - ((and require-match (not (ido-existing-item-p))) + ((and require-match + (not (if ido-directory-too-big + (file-exists-p (concat ido-current-directory ido-final-text)) + (ido-existing-item-p)))) (error "must specify valid item")) (t