Fix up previous icomplete-show-matches-on-no-input change
* lisp/icomplete.el (icomplete-completions): Ensure that the default value is cleared (bug#43120).
This commit is contained in:
parent
6cf62141c4
commit
585fe00557
1 changed files with 1 additions and 1 deletions
|
@ -715,7 +715,7 @@ matches exist."
|
|||
(setq prospects (nreverse prospects))
|
||||
;; Return the first match if the user hits enter.
|
||||
(when icomplete-show-matches-on-no-input
|
||||
(setq completion-content-when-empty (car prospects)))
|
||||
(setq-local completion-content-when-empty (car prospects)))
|
||||
;; Decorate first of the prospects.
|
||||
(when prospects
|
||||
(let ((first (copy-sequence (pop prospects))))
|
||||
|
|
Loading…
Add table
Reference in a new issue