]> git.eshelyaron.com Git - emacs.git/commit
message uses minibuffer-message in the active minibuffer (bug#17272 bug#19064)
authorJuri Linkov <juri@linkov.net>
Tue, 26 Nov 2019 23:43:49 +0000 (01:43 +0200)
committerJuri Linkov <juri@linkov.net>
Tue, 26 Nov 2019 23:43:49 +0000 (01:43 +0200)
commitaa89c84e00d8dc85100e6fedab7631c415e6364d
tree5e81616e1b5f2ee5ca232a10acf63fc62a6997f8
parentb3c0fb21bd910f5d86490154451cc324ce9ad66b
message uses minibuffer-message in the active minibuffer (bug#17272 bug#19064)

* doc/lispref/display.texi (Displaying Messages): Explain the
behavior of using minibuffer-message if the minibuffer is active.

* src/editfns.c (Fmessage_in_echo_area): New function with body
copied from Fmessage.
(Fmessage): Call minibuffer-message in the active minibuffer,
otherwise call Fmessage_in_echo_area.
(message-in-echo-area): New variable.

* lisp/isearch.el (isearch--momentary-message, isearch-message):
* lisp/minibuffer.el (minibuffer-message, minibuffer-completion-help):
Use 'message-in-echo-area' instead of 'message' where necessary.

* lisp/autorevert.el (auto-revert-handler):
* lisp/man.el (Man-bgproc-sentinel):
* lisp/subr.el (do-after-load-evaluation):
Revert recent changes that replaced 'message' with 'minibuffer-message'.
This is not needed anymore since 'message' uses 'minibuffer-message'
in the active minibuffer.
doc/lispref/display.texi
etc/NEWS
lisp/autorevert.el
lisp/isearch.el
lisp/man.el
lisp/minibuffer.el
lisp/subr.el
src/editfns.c