diff options
| author | Juri Linkov | 2019-11-27 01:43:49 +0200 |
|---|---|---|
| committer | Juri Linkov | 2019-11-27 01:43:49 +0200 |
| commit | aa89c84e00d8dc85100e6fedab7631c415e6364d (patch) | |
| tree | 5e81616e1b5f2ee5ca232a10acf63fc62a6997f8 /etc | |
| parent | b3c0fb21bd910f5d86490154451cc324ce9ad66b (diff) | |
| download | emacs-aa89c84e00d8dc85100e6fedab7631c415e6364d.tar.gz emacs-aa89c84e00d8dc85100e6fedab7631c415e6364d.zip | |
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.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -755,6 +755,10 @@ the minibuffer. If non-nil, point will move to the end of the prompt | |||
| 755 | at the end of the active minibuffer. | 755 | at the end of the active minibuffer. |
| 756 | 756 | ||
| 757 | +++ | 757 | +++ |
| 758 | *** The function 'message' now displays the message at the end of the minibuffer | ||
| 759 | when the minibuffer is active. | ||
| 760 | |||
| 761 | +++ | ||
| 758 | *** 'y-or-n-p' now uses the minibuffer to read 'y' or 'n' answer. | 762 | *** 'y-or-n-p' now uses the minibuffer to read 'y' or 'n' answer. |
| 759 | 763 | ||
| 760 | *** Some commands that previously used read-char-choice now read | 764 | *** Some commands that previously used read-char-choice now read |