Function: delete-file-internal
delete-file-internal is a function defined in fileio.c.
Signature
(delete-file-internal FILENAME)
Documentation
Delete file named FILENAME; internal use only.
If it is a symlink, remove the symlink. If file has multiple names, it continues to exist with the other names.
Source Code
// Defined in /usr/src/emacs/src/fileio.c
{
Lisp_Object encoded_file;
CHECK_STRING (filename);
filename = Fexpand_file_name (filename, Qnil);
encoded_file = ENCODE_FILE (filename);
if (emacs_unlink (SSDATA (encoded_file)) != 0
&& errno != ENOENT)
report_file_error ("Removing old name", filename);
return Qnil;
}