1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Don't obscure the minibuffer by message (bug#17272)

* lisp/subr.el (do-after-load-evaluation): Use minibuffer-message
to not obscure a possibly active minibuffer.

* lisp/minibuffer.el (minibuffer-message):
Record message in the *Messages* buffer.
This commit is contained in:
Juri Linkov 2019-11-10 00:46:29 +02:00
parent 8d68025baf
commit 8693611136
2 changed files with 7 additions and 2 deletions

View file

@ -4552,8 +4552,8 @@ This function is called directly from the C code."
(byte-compile-warn "%s" msg))
(run-with-timer 0 nil
(lambda (msg)
(message "%s" msg))
msg)))))
(minibuffer-message "%s" msg))
msg)))))
;; Finally, run any other hook.
(run-hook-with-args 'after-load-functions abs-file))