1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Remove some compat code from uudecode.el

* lisp/mail/uudecode.el (uudecode-decode-region-external): Remove
check for make-temp-file, which is always defined.
This commit is contained in:
Lars Ingebrigtsen 2020-08-18 11:56:39 +02:00
parent 85f0e3df73
commit c64fcb8ab5

View file

@ -86,13 +86,9 @@ used is specified by `uudecode-decoder-program'."
(match-string 1)))))
(setq tempfile (if file-name
(expand-file-name file-name)
(if (fboundp 'make-temp-file)
(let ((temporary-file-directory
uudecode-temporary-file-directory))
(make-temp-file "uu"))
(expand-file-name
(make-temp-name "uu")
uudecode-temporary-file-directory))))
(let ((temporary-file-directory
uudecode-temporary-file-directory))
(make-temp-file "uu"))))
(let ((cdir default-directory)
(default-process-coding-system nil))
(unwind-protect