aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2005-07-15 13:09:03 +0000
committerKim F. Storm2005-07-15 13:09:03 +0000
commit83a12f3a553d0e11884dc8c07c876d330b58ff28 (patch)
treecf104335bd6e8c9d8a94aaa76cc4555ca0b9a39e
parent2994c5cf631b36651a8cdcf3d8a2e557037f251a (diff)
downloademacs-83a12f3a553d0e11884dc8c07c876d330b58ff28.tar.gz
emacs-83a12f3a553d0e11884dc8c07c876d330b58ff28.zip
(ido-file-internal, ido-read-file-name, ido-read-directory-name):
Let bind minibuffer-completing-file-name to t.
-rw-r--r--lisp/ido.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ido.el b/lisp/ido.el
index 093012dc229..f1fbb4cdbdd 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -2023,7 +2023,8 @@ If INITIAL is non-nil, it specifies the initial input string."
2023 (setq item 'file)) 2023 (setq item 'file))
2024 (let ((ido-current-directory (ido-expand-directory default)) 2024 (let ((ido-current-directory (ido-expand-directory default))
2025 (ido-context-switch-command switch-cmd) 2025 (ido-context-switch-command switch-cmd)
2026 ido-directory-nonreadable ido-directory-too-big 2026 ido-directory-nonreadable ido-directory-too-big
2027 (minibuffer-completing-file-name t)
2027 filename) 2028 filename)
2028 2029
2029 (if (or (not ido-mode) (ido-is-slow-ftp-host)) 2030 (if (or (not ido-mode) (ido-is-slow-ftp-host))
@@ -4250,6 +4251,7 @@ See `read-file-name' for additional parameters."
4250 (ido-context-switch-command 4251 (ido-context-switch-command
4251 (if (eq (get this-command 'ido) 'find-file) nil 'ignore)) 4252 (if (eq (get this-command 'ido) 'find-file) nil 'ignore))
4252 (vc-handled-backends (and (boundp 'vc-handled-backends) vc-handled-backends)) 4253 (vc-handled-backends (and (boundp 'vc-handled-backends) vc-handled-backends))
4254 (minibuffer-completing-file-name t)
4253 (ido-current-directory (ido-expand-directory dir)) 4255 (ido-current-directory (ido-expand-directory dir))
4254 (ido-directory-nonreadable (not (file-readable-p ido-current-directory))) 4256 (ido-directory-nonreadable (not (file-readable-p ido-current-directory)))
4255 (ido-directory-too-big (and (not ido-directory-nonreadable) 4257 (ido-directory-too-big (and (not ido-directory-nonreadable)
@@ -4282,6 +4284,7 @@ See `read-file-name' for additional parameters."
4282Read directory name, prompting with PROMPT and completing in directory DIR. 4284Read directory name, prompting with PROMPT and completing in directory DIR.
4283See `read-directory-name' for additional parameters." 4285See `read-directory-name' for additional parameters."
4284 (let* (filename 4286 (let* (filename
4287 (minibuffer-completing-file-name t)
4285 (ido-context-switch-command 'ignore) 4288 (ido-context-switch-command 'ignore)
4286 ido-saved-vc-hb 4289 ido-saved-vc-hb
4287 (ido-current-directory (ido-expand-directory dir)) 4290 (ido-current-directory (ido-expand-directory dir))