]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove XEmacs audio checks from mm-decode.el
authorBasil L. Contovounesios <contovob@tcd.ie>
Sat, 18 May 2019 17:06:29 +0000 (18:06 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Sat, 18 May 2019 17:12:04 +0000 (18:12 +0100)
For discussion, see the following threads:
https://lists.gnu.org/archive/html/emacs-devel/2019-03/msg01087.html
https://lists.gnu.org/archive/html/emacs-devel/2019-05/msg00584.html
* lisp/gnus/mm-decode.el (mm-inline-media-tests): Remove no-op media
tests for XEmacs features.

lisp/gnus/mm-decode.el

index 93b57706f85aadbc054fa435309463e6112ea6ac..5b1859e3240b6467f82609d059937b724a205c28 100644 (file)
@@ -262,15 +262,6 @@ before the external MIME handler is invoked."
     ("text/.*" mm-inline-text identity)
     ("application/x-.?tar\\(-.*\\)?" mm-archive-dissect-and-inline identity)
     ("application/zip" mm-archive-dissect-and-inline identity)
-    ("audio/wav" mm-inline-audio
-     ,(lambda (_handle)
-       (and (fboundp 'device-sound-enabled-p)
-           (device-sound-enabled-p))))
-    ("audio/au"
-     mm-inline-audio
-     ,(lambda (_handle)
-       (and (fboundp 'device-sound-enabled-p)
-           (device-sound-enabled-p))))
     ("application/pgp-signature" ignore identity)
     ("application/x-pkcs7-signature" ignore identity)
     ("application/pkcs7-signature" ignore identity)