; Fix messages in "M-x man"

* lisp/man.el (Man-getpage-in-background): Fix message in
synchronous case.
This commit is contained in:
Eli Zaretskii 2026-01-18 14:36:51 +02:00
parent c91c0663e5
commit 313791e017

View file

@ -1224,7 +1224,11 @@ Return the buffer in which the manpage will appear."
(buffer (get-buffer bufname)))
(if buffer
(Man-notify-when-ready buffer)
(message "Invoking %s %s in the background" manual-program man-args)
(message "Invoking %s %s %s"
manual-program man-args
(if Man-prefer-synchronous-call
"and formatting..."
"in the background"))
(setq buffer (generate-new-buffer bufname))
(Man-notify-when-ready buffer)
(with-current-buffer buffer