Mercurial > emacs
comparison src/callproc.c @ 8737:72b312ebaa10
(delete_temp_file): Use Fdelete_file.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 14 Sep 1994 09:15:46 +0000 |
parents | f1b1537ed3f6 |
children | f44e40e722b2 |
comparison
equal
deleted
inserted
replaced
8736:fe48762e68de | 8737:72b312ebaa10 |
---|---|
465 | 465 |
466 static Lisp_Object | 466 static Lisp_Object |
467 delete_temp_file (name) | 467 delete_temp_file (name) |
468 Lisp_Object name; | 468 Lisp_Object name; |
469 { | 469 { |
470 unlink (XSTRING (name)->data); | 470 /* Use Fdelete_file because that runs a file name handler. |
471 We did that when writing the file, so we should do so when deleting. */ | |
472 Fdelete_file (name); | |
471 } | 473 } |
472 | 474 |
473 DEFUN ("call-process-region", Fcall_process_region, Scall_process_region, | 475 DEFUN ("call-process-region", Fcall_process_region, Scall_process_region, |
474 3, MANY, 0, | 476 3, MANY, 0, |
475 "Send text from START to END to a synchronous process running PROGRAM.\n\ | 477 "Send text from START to END to a synchronous process running PROGRAM.\n\ |