diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2023-08-09 00:02:22 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2023-08-09 00:02:51 -0400 |
commit | dbca2e797abeaedb54a85c22ca004cc041ffec4d (patch) | |
tree | b3a82b36e44d9e8430f4562db63331fa0723f327 | |
parent | 5af838769d3edd11697319754b8d341957d8786d (diff) | |
download | emacs-dbca2e797abeaedb54a85c22ca004cc041ffec4d.tar.gz emacs-dbca2e797abeaedb54a85c22ca004cc041ffec4d.tar.bz2 emacs-dbca2e797abeaedb54a85c22ca004cc041ffec4d.zip |
Add a string check to delete-file-internal.
* src/fileio.c (delete-file-internal): Argument should be a string.
-rw-r--r-- | src/fileio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c index 4c00f1e5ff4..14e39445efa 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -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); |