emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 9c748b2: * src/editfns.c (Fmessage): Improve doc st


From: Paul Eggert
Subject: [Emacs-diffs] master 9c748b2: * src/editfns.c (Fmessage): Improve doc string (Bug#23425#130).
Date: Wed, 31 May 2017 19:23:51 -0400 (EDT)

branch: master
commit 9c748b27c066b0cfdc8ff4a4e0fd545162836d06
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    * src/editfns.c (Fmessage): Improve doc string (Bug#23425#130).
---
 src/editfns.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/editfns.c b/src/editfns.c
index a51670c..89a6724 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -3734,11 +3734,10 @@ In batch mode, the message is printed to the standard 
error stream,
 followed by a newline.
 
 The first argument is a format control string, and the rest are data
-to be formatted under control of the string.  See `format-message' for
-details.
-
-Note: (message "%s" VALUE) displays the string VALUE without
-interpreting format characters like `%', `\\=`', and `\\=''.
+to be formatted under control of the string.  Percent sign (%), grave
+accent (\\=`) and apostrophe (\\=') are special in the format; see
+`format-message' for details.  To display STRING without special
+treatment, use (message "%s" STRING).
 
 If the first argument is nil or the empty string, the function clears
 any existing message; this lets the minibuffer contents show.  See



reply via email to

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