diff options
author | Karl Heuer <kwzh@gnu.org> | 1994-09-28 20:45:08 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1994-09-28 20:45:08 +0000 |
commit | 8a9b0da95ae651715f717ef85a98d55fbc3c4ae7 (patch) | |
tree | b16104de15f92f3cf86acf5f41f11c23900d49a4 /src/fileio.c | |
parent | b0e1e38fa97ce784a95382a5d8fb20440fac97c2 (diff) | |
download | emacs-8a9b0da95ae651715f717ef85a98d55fbc3c4ae7.tar.gz |
(Fdelete_file): Undo Sep 16 change.
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/fileio.c b/src/fileio.c index 401e569b463..a06032a3cae 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -150,8 +150,6 @@ int vms_stmlf_recfm; static Lisp_Object Vinhibit_file_name_handlers; static Lisp_Object Vinhibit_file_name_operation; -extern Lisp_Object Qcompletion_ignored_extensions; - Lisp_Object Qfile_error, Qfile_already_exists; Lisp_Object Qfile_name_history; @@ -1905,19 +1903,17 @@ If file has multiple names, it continues to exist with the other names.") (filename) Lisp_Object filename; { - int count = specpdl_ptr - specpdl; Lisp_Object handler; CHECK_STRING (filename, 0); filename = Fexpand_file_name (filename, Qnil); - specbind (Qcompletion_ignored_extensions, Qnil); handler = Ffind_file_name_handler (filename, Qdelete_file); if (!NILP (handler)) - return unbind_to (count, call2 (handler, Qdelete_file, filename)); + return call2 (handler, Qdelete_file, filename); if (0 > unlink (XSTRING (filename)->data)) report_file_error ("Removing old name", Flist (1, &filename)); - return unbind_to (count, Qnil); + return Qnil; } DEFUN ("rename-file", Frename_file, Srename_file, 2, 3, |