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:
parent
641a26d22b
commit
91befd0e2c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user