emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] scratch/inhibit-message3 e70edbc: Document `inhibit-messag


From: Oleh Krehel
Subject: [Emacs-diffs] scratch/inhibit-message3 e70edbc: Document `inhibit-message' and fix the NEWS entry
Date: Wed, 22 Apr 2015 12:48:31 +0000

branch: scratch/inhibit-message3
commit e70edbc16313f6d63ba14fd84e1b83f4e6d656d0
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    Document `inhibit-message' and fix the NEWS entry
---
 doc/lispref/display.texi |    9 +++++++--
 etc/NEWS                 |    7 ++++---
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index b39c319..f86149d 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -257,8 +257,8 @@ text properties (@pxref{Logging Messages}).
 In batch mode, the message is printed to the standard error stream,
 followed by a newline.
 
-When @code{inhibit-message} is @code{t}, no message will be displayed
-in the echo area, it will only be logged to @file{*Messages*}.
+When @code{inhibit-message} is non-nil, no message will be displayed
+in the echo area, it will only be logged to @samp{*Messages*}.
 
 If @var{format-string} is @code{nil} or the empty string,
 @code{message} clears the echo area; if the echo area has been
@@ -285,6 +285,11 @@ To automatically display a message in the echo area or in 
a pop-buffer,
 depending on its size, use @code{display-message-or-buffer} (see below).
 @end defun
 
address@hidden inhibit-message
+When this variable is non-nil, @code{message} and related functions
+will not use the Echo Area to display messages.
address@hidden defvar
+
 @defmac with-temp-message message &rest body
 This construct displays a message in the echo area temporarily, during
 the execution of @var{body}.  It displays @var{message}, executes
diff --git a/etc/NEWS b/etc/NEWS
index c5c1280..e2b6b11 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -200,9 +200,10 @@ font, and (iii) the specified window.
 
 ** New possible value for `system-type': nacl.
 
-** New variable `inhibit-message', when bound to t, inhibits the
-   message3 C function from using the Echo Area. The output is still
-   logged to the *Messages* buffer.
++++
+** New variable `inhibit-message', when bound to non-nil, inhibits
+   `message' and related functions from displaying messages the Echo
+   Area.  The output is still logged to the *Messages* buffer.
 
 
 * Editing Changes in Emacs 25.1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]