diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-09-05 23:11:43 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-09-05 23:11:43 +0200 |
commit | 585fe00557489e49188b6a301f001ef01ff15dcb (patch) | |
tree | 642ae05371dc68b7c81d21abe22f6401b94abbdf /lisp/icomplete.el | |
parent | 6cf62141c4467314f67c2ef75a4bf94d41ff050f (diff) | |
download | emacs-585fe00557489e49188b6a301f001ef01ff15dcb.tar.gz |
Fix up previous icomplete-show-matches-on-no-input change
* lisp/icomplete.el (icomplete-completions): Ensure that the
default value is cleared (bug#43120).
Diffstat (limited to 'lisp/icomplete.el')
-rw-r--r-- | lisp/icomplete.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/icomplete.el b/lisp/icomplete.el index 8a68df876c1..ba266cfbfe9 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el @@ -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)))) |