[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 585fe00: Fix up previous icomplete-show-matches-on-no-input chang
From: |
Lars Ingebrigtsen |
Subject: |
master 585fe00: Fix up previous icomplete-show-matches-on-no-input change |
Date: |
Sat, 5 Sep 2020 17:11:52 -0400 (EDT) |
branch: master
commit 585fe00557489e49188b6a301f001ef01ff15dcb
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix up previous icomplete-show-matches-on-no-input change
* lisp/icomplete.el (icomplete-completions): Ensure that the
default value is cleared (bug#43120).
---
lisp/icomplete.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/icomplete.el b/lisp/icomplete.el
index 8a68df8..ba266cf 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))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 585fe00: Fix up previous icomplete-show-matches-on-no-input change,
Lars Ingebrigtsen <=