diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/minibuffer.el | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 6011a493d0b..0e9b1c199a3 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el | |||
| @@ -3593,8 +3593,13 @@ that is non-nil." | |||
| 3593 | completions))) | 3593 | completions))) |
| 3594 | (cond | 3594 | (cond |
| 3595 | ((or (not (window-minibuffer-p)) | 3595 | ((or (not (window-minibuffer-p)) |
| 3596 | (> (point-max) | 3596 | ;; JT@2019-12-23: FIXME: this is still wrong. What |
| 3597 | (minibuffer-prompt-end))) | 3597 | ;; we need to test here is "some input that actually |
| 3598 | ;; leads to flex filtering", not "something after | ||
| 3599 | ;; the minibuffer prompt". The latter is always | ||
| 3600 | ;; true for file searches, meaning the next clauses | ||
| 3601 | ;; will be ignored. | ||
| 3602 | (> (point-max) (minibuffer-prompt-end))) | ||
| 3598 | (sort | 3603 | (sort |
| 3599 | pre-sorted | 3604 | pre-sorted |
| 3600 | (lambda (c1 c2) | 3605 | (lambda (c1 c2) |