Variable: minibuffer-message-clear-timeout
minibuffer-message-clear-timeout is a customizable variable defined in
minibuffer.el.gz.
Value
nil
Documentation
How long to display an echo-area message when the minibuffer is active.
If the value is a number, it is the time in seconds after which to
remove the echo-area message from the active minibuffer.
If the value is not a number, such messages are never removed,
and their text is displayed until the next input event arrives.
Unlike minibuffer-message-timeout used by minibuffer-message,
this option affects the pair of functions set-minibuffer-message
and clear-minibuffer-message called automatically via
set-message-function and clear-message-function.
This variable was added, or its default value changed, in Emacs 27.1.
Probably introduced at or before Emacs version 27.1.
Source Code
;; Defined in /usr/src/emacs/lisp/minibuffer.el.gz
(defcustom minibuffer-message-clear-timeout nil
"How long to display an echo-area message when the minibuffer is active.
If the value is a number, it is the time in seconds after which to
remove the echo-area message from the active minibuffer.
If the value is not a number, such messages are never removed,
and their text is displayed until the next input event arrives.
Unlike `minibuffer-message-timeout' used by `minibuffer-message',
this option affects the pair of functions `set-minibuffer-message'
and `clear-minibuffer-message' called automatically via
`set-message-function' and `clear-message-function'."
:type '(choice (const :tag "Never time out" nil)
(integer :tag "Wait for the number of seconds" 2))
:version "27.1")