From 2731e821ab157bf71724a4843a9ec67120e88db0 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 26 Aug 2015 08:25:56 -0700 Subject: [PATCH] Treat error strings as help MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * src/print.c (print_error_message): Translate quotes and command keys in errmsg so that users see, e.g., "Symbol’s value as variable is void: foo" when text-quoting-style is curved. --- src/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/print.c b/src/print.c index af615749f37..2d4dca7a42a 100644 --- a/src/print.c +++ b/src/print.c @@ -940,7 +940,7 @@ print_error_message (Lisp_Object data, Lisp_Object stream, const char *context, if (!STRINGP (errmsg)) write_string_1 ("peculiar error", stream); else if (SCHARS (errmsg)) - Fprinc (errmsg, stream); + Fprinc (Fsubstitute_command_keys (errmsg), stream); else sep = NULL; -- 2.11.4.GIT