aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ido.el13
1 files changed, 7 insertions, 6 deletions
diff --git a/lisp/ido.el b/lisp/ido.el
index 7b8e8c726ef..d0e6af667e8 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -1959,7 +1959,9 @@ If INITIAL is non-nil, it specifies the initial input string."
1959 (if (eq method 'insert) 1959 (if (eq method 'insert)
1960 (progn 1960 (progn
1961 (ido-record-command 'insert-buffer buf) 1961 (ido-record-command 'insert-buffer buf)
1962 (insert-buffer buf)) 1962 (with-no-warnings
1963 ;; we really want to run insert-buffer here
1964 (insert-buffer buf)))
1963 (ido-visit-buffer buf method t))) 1965 (ido-visit-buffer buf method t)))
1964 1966
1965 ;; buffer doesn't exist 1967 ;; buffer doesn't exist
@@ -3012,11 +3014,10 @@ for first matching file."
3012 (let (res) 3014 (let (res)
3013 (message "Searching for `%s'...." text) 3015 (message "Searching for `%s'...." text)
3014 (condition-case nil 3016 (condition-case nil
3015 (unless (catch 'input-pending-p 3017 (if (eq t (setq res
3016 (let ((throw-on-input 'input-pending-p)) 3018 (while-no-input
3017 (setq res (ido-make-merged-file-list-1 text auto wide)) 3019 (ido-make-merged-file-list-1 text auto wide))))
3018 t)) 3020 (setq res 'input-pending-p))
3019 (setq res 'input-pending-p))
3020 (quit 3021 (quit
3021 (setq res t 3022 (setq res t
3022 ido-try-merged-list nil 3023 ido-try-merged-list nil