diff options
| author | Eli Zaretskii | 2025-04-13 10:44:55 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2025-04-13 10:44:55 +0300 |
| commit | b0d6fe1449fbd32c01d69174f552d6884337a809 (patch) | |
| tree | 3b43d8b5ff40b445509e49cada414efcdf3493dc /src | |
| parent | 7b36d7295e1567f5a1b3725ddbc3a7e85079660c (diff) | |
| download | emacs-b0d6fe1449fbd32c01d69174f552d6884337a809.tar.gz emacs-b0d6fe1449fbd32c01d69174f552d6884337a809.zip | |
Disable clearing echo-area when 'inhibit-message' is non-nil
* src/xdisp.c (clear_message): Don't clear echo-area if
'inhibit-message' is non-nil.
* etc/NEWS:
* doc/lispref/display.texi (Displaying Messages): Document the
above change. (Bug#77257)
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 4a0ea5778ba..dedd4bcaeea 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -13405,7 +13405,7 @@ clear_message (bool current_p, bool last_displayed_p) | |||
| 13405 | { | 13405 | { |
| 13406 | Lisp_Object preserve = Qnil; | 13406 | Lisp_Object preserve = Qnil; |
| 13407 | 13407 | ||
| 13408 | if (current_p) | 13408 | if (current_p && !inhibit_message) |
| 13409 | { | 13409 | { |
| 13410 | if (FUNCTIONP (Vclear_message_function) | 13410 | if (FUNCTIONP (Vclear_message_function) |
| 13411 | /* FIXME: (bug#63253) Same as for `set-message-function` above. */ | 13411 | /* FIXME: (bug#63253) Same as for `set-message-function` above. */ |