1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-22 10:26:20 +00:00

(cmd_error_internal): Use const for pointer to lisp

string data.
This commit is contained in:
Ken Raeburn 2002-07-16 19:48:34 +00:00
parent 641a26d22b
commit 91befd0e2c

View File

@ -1209,7 +1209,7 @@ cmd_error_internal (data, context)
*Messages*. */
if (!NILP (Vsignaling_function) && SYMBOLP (Vsignaling_function))
{
char *name = SDATA (SYMBOL_NAME (Vsignaling_function));
const char *name = SDATA (SYMBOL_NAME (Vsignaling_function));
message_dolog (name, strlen (name), 0, 0);
message_dolog (": ", 2, 0, 0);
Vsignaling_function = Qnil;