[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 9216e18: minibuffer.el: Use completion--message instead of minibu
From: |
Stefan Monnier |
Subject: |
master 9216e18: minibuffer.el: Use completion--message instead of minibuffer-message |
Date: |
Mon, 19 Apr 2021 15:52:05 -0400 (EDT) |
branch: master
commit 9216e1818a6f8dd33f98d435fc4927f6dd361d5c
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
minibuffer.el: Use completion--message instead of minibuffer-message
* minibuffer.el: Use completion--message consistently for the messages
"Incomplete", "Sole completion" and "No completions".
---
lisp/minibuffer.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index 4a414ae..c19f909 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -1437,7 +1437,7 @@ KEYFUN takes an element of ELEMS and should return a
numerical value."
;; test-completion, then we shouldn't exit, but that should be rare.
(lambda ()
(if minibuffer--require-match
- (minibuffer-message "Incomplete")
+ (completion--message "Incomplete")
;; If a match is not required, exit after all.
(exit-minibuffer)))))
@@ -2022,7 +2022,7 @@ variables.")
;; the sole completion, then hide (previous&stale) completions.
(minibuffer-hide-completions)
(ding)
- (minibuffer-message
+ (completion--message
(if completions "Sole completion" "No completions")))
(let* ((last (last completions))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 9216e18: minibuffer.el: Use completion--message instead of minibuffer-message,
Stefan Monnier <=