Fix use of obsolete 'error' warning level

* src/fileio.c (auto_save_error): Use new style ':error' warning level
instead of obsolete 'error'.
This commit is contained in:
Zajcev Evgeny 2020-12-22 17:37:38 +03:00 committed by Stefan Kangas
parent 747a923b9a
commit a649869d04

View file

@ -5752,7 +5752,7 @@ auto_save_error (Lisp_Object error_val)
Lisp_Object msg = CALLN (Fformat, format, BVAR (current_buffer, name),
Ferror_message_string (error_val));
call3 (intern ("display-warning"),
intern ("auto-save"), msg, intern ("error"));
intern ("auto-save"), msg, intern (":error"));
return Qnil;
}