]> git.eshelyaron.com Git - emacs.git/commitdiff
(mml-generate-mime-1): Remove XEmacs compat code
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 19 May 2019 18:26:48 +0000 (20:26 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 19 May 2019 18:27:20 +0000 (20:27 +0200)
* lisp/gnus/mml.el (mml-generate-mime-1): Remove XEmacs compat code.

lisp/gnus/mml.el

index b0b4fd0a54df0371609e203c9471ad6f1f4c109d..1df4e28f13d4fad6d13f550a7963749a2ef83fc1 100644 (file)
@@ -702,9 +702,7 @@ be \"related\" or \"alternate\"."
                                  filename)))))
               (t
                (let ((contents (cdr (assq 'contents cont))))
-                 (if (if (featurep 'xemacs)
-                         (string-match "[^\000-\377]" contents)
-                       (multibyte-string-p contents))
+                 (if (multibyte-string-p contents)
                      (progn
                        (set-buffer-multibyte t)
                        (insert contents)