aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ido.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ido.el b/lisp/ido.el
index 97e285916d6..8844b12f5b7 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -2270,7 +2270,9 @@ If INITIAL is non-nil, it specifies the initial input string."
2270 (let ((minibuffer-completing-file-name t)) 2270 (let ((minibuffer-completing-file-name t))
2271 (setq filename (ido-read-internal item 2271 (setq filename (ido-read-internal item
2272 (or prompt "Find file: ") 2272 (or prompt "Find file: ")
2273 'ido-file-history nil nil initial)))) 2273 'ido-file-history
2274 (and (eq method 'alt-file) buffer-file-name)
2275 nil initial))))
2274 2276
2275 ;; Choose the file name: either the text typed in, or the head 2277 ;; Choose the file name: either the text typed in, or the head
2276 ;; of the list of matches 2278 ;; of the list of matches