]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove XEmacs compat code from uudecode.el
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 19 Jun 2019 21:51:02 +0000 (23:51 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 20 Jun 2019 10:51:38 +0000 (12:51 +0200)
* lisp/mail/uudecode.el (uudecode-decode-region-external)
(uudecode-decode-region-internal): Remove XEmacs compat code.

lisp/mail/uudecode.el

index 57ca1ccc629f03a80cbe9d189b8527ea14cacddf..9ccdceeeb3f08311906e8aad9929a90b2c3e6219 100644 (file)
@@ -94,11 +94,7 @@ used is specified by `uudecode-decoder-program'."
                              (make-temp-name "uu")
                              uudecode-temporary-file-directory))))
        (let ((cdir default-directory)
-             (default-process-coding-system
-               (if (featurep 'xemacs)
-                   ;; In XEmacs, nil is not a valid coding system.
-                   '(binary . binary)
-                 nil)))
+             (default-process-coding-system nil))
          (unwind-protect
              (with-temp-buffer
                (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)