Function: funcall-with-delayed-message
funcall-with-delayed-message is a byte-compiled function defined in
compat-29.el.
Signature
(funcall-with-delayed-message TIMEOUT MESSAGE FUNCTION)
Documentation
[Compatibility function for funcall-with-delayed-message, defined in Emacs
29.1. See (compat) Emacs 29.1' for more details.]
Like funcall, but display MESSAGE if FUNCTION takes longer than TIMEOUT.
TIMEOUT is a number of seconds, and can be an integer or a floating point
number. If FUNCTION takes less time to execute than TIMEOUT seconds, MESSAGE is
not displayed.
NOTE: The compatibility function never displays the message, which is not problematic since the only effect of the function is to display a progress message to the user. Backporting this feature is not possible, since the implementation is directly baked into the Elisp interpreter.
Source Code
;; Defined in ~/.emacs.d/elpa/compat-30.1.0.1/compat-29.el
(compat-defun funcall-with-delayed-message (timeout message function) ;; <compat-tests:with-delayed-message>
"Like `funcall', but display MESSAGE if FUNCTION takes longer than TIMEOUT.
TIMEOUT is a number of seconds, and can be an integer or a
floating point number. If FUNCTION takes less time to execute
than TIMEOUT seconds, MESSAGE is not displayed.
NOTE: The compatibility function never displays the message,
which is not problematic since the only effect of the function is
to display a progress message to the user. Backporting this
feature is not possible, since the implementation is directly
baked into the Elisp interpreter."
(ignore timeout message)
(funcall function))