From 61a9da2586265ea8d7473d0fefbf008e2822f3c7 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Tue, 4 May 2010 00:38:50 +0200 Subject: [PATCH] * mm-util.el (mm-decompress-buffer): Use `delete-file'. --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/mm-util.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index fbf1302d4f7..bb6d11c81bd 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2010-05-03 Juanma Barranquero + + * mm-util.el (mm-decompress-buffer): Use `delete-file'; + alias `jka-compr-delete-temp-file' no longer exists. + 2010-05-03 Stefan Monnier Use define-minor-mode in Gnus where applicable. diff --git a/lisp/gnus/mm-util.el b/lisp/gnus/mm-util.el index 1e70a69b1fd..c1dc4f5b754 100644 --- a/lisp/gnus/mm-util.el +++ b/lisp/gnus/mm-util.el @@ -1563,7 +1563,7 @@ decompressed data. The buffer's multibyteness must be turned off." (error (setq err-msg (error-message-string err))))) (when (file-exists-p err-file) - (ignore-errors (jka-compr-delete-temp-file err-file))) + (ignore-errors (delete-file err-file))) (when inplace (unless err-msg (delete-region (point-min) (point-max)) -- 2.39.2