Commit ac3219c0 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Remove XEmacs compat code from uudecode.el

* lisp/mail/uudecode.el (uudecode-decode-region-external)
(uudecode-decode-region-internal): Remove XEmacs compat code.
parent 3c16eda5
......@@ -94,11 +94,7 @@ used is specified by `uudecode-decoder-program'."
(make-temp-name "uu")
(let ((cdir default-directory)
(if (featurep 'xemacs)
;; In XEmacs, nil is not a valid coding system.
'(binary . binary)
(default-process-coding-system nil))
(insert "begin 600 " (file-name-nondirectory tempfile) "\n")
......@@ -195,7 +191,7 @@ If FILE-NAME is non-nil, save the result to FILE-NAME."
(skip-chars-forward non-data-chars end))
(if file-name
(with-temp-file file-name
(unless (featurep 'xemacs) (set-buffer-multibyte nil))
(set-buffer-multibyte nil)
(insert (apply #'concat (nreverse result))))
(or (markerp end) (setq end (set-marker (make-marker) end)))
(goto-char start)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment