From: Gerd Möllmann Date: Sat, 22 Oct 2022 06:48:02 +0000 (+0200) Subject: Make format %s for keywords compatible X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7e336b4e7695017291f64ddb6d2b8111fe3f22eb;p=emacs.git Make format %s for keywords compatible * src/editfns.c (styled_format): Use LISP_SYMBOL_NAME. --- diff --git a/src/editfns.c b/src/editfns.c index c1414071c79..4f514e21bbb 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -3439,7 +3439,7 @@ styled_format (ptrdiff_t nargs, Lisp_Object *args, bool message) if (SYMBOLP (arg)) { - spec->argument = arg = SYMBOL_NAME (arg); + spec->argument = arg = LISP_SYMBOL_NAME (arg); if (STRING_MULTIBYTE (arg) && ! multibyte) { multibyte = true;