diff options
| author | Eli Zaretskii | 2018-06-02 14:09:11 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2018-06-02 14:09:11 +0300 |
| commit | 9089b0239fbb4d658cc26523685f58e15a4d429a (patch) | |
| tree | cea5c64eb62dcba9e5b3880246f370cba14263e2 /src | |
| parent | 6107e12f76d3f7ea3136b04d8856b3f9ebc97e1d (diff) | |
| download | emacs-9089b0239fbb4d658cc26523685f58e15a4d429a.tar.gz emacs-9089b0239fbb4d658cc26523685f58e15a4d429a.zip | |
Improve documentation of 'inhibit-message'
* src/xdisp.c (syms_of_xdisp) <inhibit-message>: Warn against
setting it non-nil globally. (Bug#31627)
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index d28c1140678..5bce05c219e 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -32424,7 +32424,12 @@ syms_of_xdisp (void) | |||
| 32424 | 32424 | ||
| 32425 | DEFVAR_BOOL("inhibit-message", inhibit_message, | 32425 | DEFVAR_BOOL("inhibit-message", inhibit_message, |
| 32426 | doc: /* Non-nil means calls to `message' are not displayed. | 32426 | doc: /* Non-nil means calls to `message' are not displayed. |
| 32427 | They are still logged to the *Messages* buffer. */); | 32427 | They are still logged to the *Messages* buffer. |
| 32428 | |||
| 32429 | Do NOT set this globally to a non-nil value, as doing that will | ||
| 32430 | disable messages everywhere, including in I-search and other | ||
| 32431 | places where they are necessary. This variable is intended to | ||
| 32432 | be let-bound around code that needs to disable messages temporarily. */); | ||
| 32428 | inhibit_message = 0; | 32433 | inhibit_message = 0; |
| 32429 | 32434 | ||
| 32430 | message_dolog_marker1 = Fmake_marker (); | 32435 | message_dolog_marker1 = Fmake_marker (); |