bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43813: [BUG] current-message not working with minibuffer-message


From: pinkanon pinkanon
Subject: bug#43813: [BUG] current-message not working with minibuffer-message
Date: Mon, 05 Oct 2020 10:34:49 +0300

Eval this:
 
(progn (minibuffer-message "hello world") (print (format "current message: %s" (current-message))))
 
to get "current message: nil" in the *Messages*. If message is used in place of minibuffer message, works as expected.
 
The reason I think current-message should work with minibuffer-message is due to its docstring: "Return the string currently displayed in the echo area, or nil if none."
 
PS Is there some other way to get what's currently displayed in the echo area?
 
emacs 27.1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]