emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] master fc2da0d: Gnus: Automatically render text/calend


From: Basil L. Contovounesios
Subject: Re: [Emacs-diffs] master fc2da0d: Gnus: Automatically render text/calendar in a human-friendly way
Date: Fri, 29 Mar 2019 13:55:12 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

address@hidden (Stefan Monnier) writes:

> diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el
> index b689b51..3f25541 100644
> --- a/lisp/gnus/mm-decode.el
> +++ b/lisp/gnus/mm-decode.el
> @@ -261,13 +262,13 @@ before the external MIME handler is invoked."
>      ("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 (or (featurep 'nas-sound) (featurep 'native-sound))
> +     ,(lambda (_handle)
> +       (and (fboundp 'device-sound-enabled-p)
>           (device-sound-enabled-p))))
>      ("audio/au"
>       mm-inline-audio
> -     (lambda (handle)
> -       (and (or (featurep 'nas-sound) (featurep 'native-sound))
> +     ,(lambda (_handle)
> +       (and (fboundp 'device-sound-enabled-p)
>           (device-sound-enabled-p))))
>      ("application/pgp-signature" ignore identity)
>      ("application/x-pkcs7-signature" ignore identity)

I'm just curious: where do nas-sound/native-sound/device-sound-enabled-p
come from?  Are they XEmacs artefacts?  Can/should they eventually be
changed to rely on play-sound et al.?

Thanks,

-- 
Basil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]