From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 90e9cf8: * lisp/gnus/mailcap.el (mailcap-mime-data): Date: Tue, 20 Oct 2015 10:15:09 -0400 Message-ID: References: <20151020111910.1636.10529@vcs.savannah.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1445350538 22498 80.91.229.3 (20 Oct 2015 14:15:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Oct 2015 14:15:38 +0000 (UTC) Cc: Katsumi Yamaoka , Michael Sperber To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 20 16:15:29 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZoXhI-0007zy-3O for ged-emacs-devel@m.gmane.org; Tue, 20 Oct 2015 16:15:28 +0200 Original-Received: from localhost ([::1]:46023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoXhH-0003uK-On for ged-emacs-devel@m.gmane.org; Tue, 20 Oct 2015 10:15:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoXhA-0003uD-HI for emacs-devel@gnu.org; Tue, 20 Oct 2015 10:15:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoXh1-0006YF-7x for emacs-devel@gnu.org; Tue, 20 Oct 2015 10:15:20 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:42452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoXh1-0006Y4-3g for emacs-devel@gnu.org; Tue, 20 Oct 2015 10:15:11 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0ArEwA731xV/1/x92hcgxCEAoVVuzcJh0sEAgKBPDkUAQEBAQEBAYEKQQWDXQEBBFYjEAs0EhQYDYhjzyMBAQgCAR+LOoUFBxaEFwEEtQQjhBQigngBAQE X-IPAS-Result: A0ArEwA731xV/1/x92hcgxCEAoVVuzcJh0sEAgKBPDkUAQEBAQEBAYEKQQWDXQEBBFYjEAs0EhQYDYhjzyMBAQgCAR+LOoUFBxaEFwEEtQQjhBQigngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="170277155" Original-Received: from 104-247-241-95.cpe.teksavvy.com (HELO fmsmemgm.homelinux.net) ([104.247.241.95]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 Oct 2015 10:15:09 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 27ECFAE17C; Tue, 20 Oct 2015 10:15:09 -0400 (EDT) In-Reply-To: (Katsumi Yamaoka's message of "Tue, 20 Oct 2015 11:19:11 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:192184 Archived-At: > ("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