mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
(ido-completion-help): Build ido-cur-list and ido-matches
if ido-directory-too-big is set on entry.
This commit is contained in:
parent
6e5af5e5c1
commit
c05b06127d
10
lisp/ido.el
10
lisp/ido.el
@ -3729,7 +3729,8 @@ for first matching file."
|
||||
(set-buffer temp-buf)
|
||||
(setq win (get-buffer-window temp-buf))
|
||||
(if (pos-visible-in-window-p (point-max) win)
|
||||
(if (or ido-completion-buffer-all-completions (boundp 'ido-completion-buffer-full))
|
||||
(if (or ido-completion-buffer-all-completions
|
||||
(boundp 'ido-completion-buffer-full))
|
||||
(set-window-start win (point-min))
|
||||
(with-no-warnings
|
||||
(set (make-local-variable 'ido-completion-buffer-full) t))
|
||||
@ -3742,6 +3743,13 @@ for first matching file."
|
||||
(with-output-to-temp-buffer ido-completion-buffer
|
||||
(let ((completion-list (sort
|
||||
(cond
|
||||
(ido-directory-too-big
|
||||
(setq ido-directory-too-big nil
|
||||
ido-ignored-list nil
|
||||
ido-cur-list (ido-all-completions)
|
||||
ido-rescan t)
|
||||
(ido-set-matches)
|
||||
(or ido-matches ido-cur-list))
|
||||
(ido-use-merged-list
|
||||
(ido-flatten-merged-list (or ido-matches ido-cur-list)))
|
||||
((or full-list ido-completion-buffer-all-completions)
|
||||
|
Loading…
Reference in New Issue
Block a user