* src/alloc.c (purecopy): Show the offending string with the
warning about removing its text properties.
else if (STRINGP (obj))
{
if (XSTRING (obj)->intervals)
- message ("Dropping text-properties when making string pure");
+ message_with_string ("Dropping text-properties while making string `%s' pure",
+ obj, true);
obj = make_pure_string (SSDATA (obj), SCHARS (obj),
SBYTES (obj),
STRING_MULTIBYTE (obj));