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.
This commit is contained in:
parent
5960d0ae00
commit
2731e821ab
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue