Add a string check to delete-file-internal.
* src/fileio.c (delete-file-internal): Argument should be a string.
This commit is contained in:
@@ -2592,6 +2592,7 @@ If file has multiple names, it continues to exist with the other names. */)
|
||||
{
|
||||
Lisp_Object encoded_file;
|
||||
|
||||
CHECK_STRING (filename);
|
||||
filename = Fexpand_file_name (filename, Qnil);
|
||||
encoded_file = ENCODE_FILE (filename);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user