Commit 2731e821 authored by Paul Eggert's avatar Paul Eggert
Browse files

Treat error strings as help

* 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.
parent 5960d0ae
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment