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 | 241100bfbf9d19a941c7e99b1d58301ce84719c1 (patch) | |
tree | dfbac206193446863045640d011717236c09a91d /src/fileio.c | |
parent | fce5552f6203610fa4941302f2393e88743d745f (diff) | |
download | emacs-241100bfbf9d19a941c7e99b1d58301ce84719c1.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, |