emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 90e9cf8: * lisp/gnus/mailcap.el (mailcap-mime-d


From: Stefan Monnier
Subject: Re: [Emacs-diffs] master 90e9cf8: * lisp/gnus/mailcap.el (mailcap-mime-data):
Date: Tue, 20 Oct 2015 10:15:09 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>       ("pdf"
>        (viewer . doc-view-mode)
>        (type . "application/pdf")
> -      (test . (eq window-system 'x)))
> +      (test . (and (fboundp 'doc-view-mode)
> +                (eq window-system 'x))))

Should this be redundant?  I mean shouldn't the generic code check
fboundp of the `viewer' anyway?


        Stefan



reply via email to

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