# HG changeset patch # User Kim F. Storm # Date 1157963207 0 # Node ID 861a71881b6aeac260d4c3b749c1912c5192c626 # Parent cd552bf3f6a712c924eb98f25a09b9e9c1a32b66 (Fmessage): Recommend using (message "%s" ...). diff -r cd552bf3f6a7 -r 861a71881b6a src/editfns.c --- a/src/editfns.c Mon Sep 11 08:26:37 2006 +0000 +++ b/src/editfns.c Mon Sep 11 08:26:47 2006 +0000 @@ -3178,6 +3178,9 @@ The first argument is a format control string, and the rest are data to be formatted under control of the string. See `format' for details. +Note: Use (message "%s" VALUE) to print the value of expressions and +variables to avoid accidentally interpreting `%' as format specifiers. + If the first argument is nil or the empty string, the function clears any existing message; this lets the minibuffer contents show. See also `current-message'.