From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Brian Leung via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#44651: [PATCH] Silence byte-compiler warning Date: Sun, 15 Nov 2020 03:39:29 +0100 (CET) Message-ID: <2132208036.623612.1605407968985@ichabod.co-bxl> Reply-To: Brian Leung , Brian Leung Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_623600_1736456432.1605407961413" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15804"; mail-complaints-to="usenet@ciao.gmane.io" To: 44651@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 15 03:40:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ke7xd-00041b-JD for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Nov 2020 03:40:13 +0100 Original-Received: from localhost ([::1]:45308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ke7xc-0006WO-Ku for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Nov 2020 21:40:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ke7xS-0006VJ-9h for bug-gnu-emacs@gnu.org; Sat, 14 Nov 2020 21:40:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40784) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ke7xS-0005cB-03 for bug-gnu-emacs@gnu.org; Sat, 14 Nov 2020 21:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ke7xR-0007jG-Sp for bug-gnu-emacs@gnu.org; Sat, 14 Nov 2020 21:40:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Brian Leung Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Nov 2020 02:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44651 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160540798329678 (code B ref -1); Sun, 15 Nov 2020 02:40:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Nov 2020 02:39:43 +0000 Original-Received: from localhost ([127.0.0.1]:52330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ke7x8-0007ic-NA for submit@debbugs.gnu.org; Sat, 14 Nov 2020 21:39:42 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:33922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ke7x4-0007iQ-An for submit@debbugs.gnu.org; Sat, 14 Nov 2020 21:39:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ke7x4-0006Qx-3Z for bug-gnu-emacs@gnu.org; Sat, 14 Nov 2020 21:39:38 -0500 Original-Received: from wilbur.contactoffice.com ([212.3.242.68]:60844) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ke7x1-0005YF-In for bug-gnu-emacs@gnu.org; Sat, 14 Nov 2020 21:39:37 -0500 Original-Received: from ichabod.co-bxl (ichabod.co-bxl [10.2.0.36]) by wilbur.contactoffice.com (Postfix) with ESMTP id 49187AA6 for ; Sun, 15 Nov 2020 03:39:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailfence.com; s=20160819-nLV10XS2; t=1605407971; bh=WLAQAW31cQD+ONR3ceDv2PNQ9MHImr1X3qirQFeU1bI=; h=Date:Subject:Reply-To:From:To:From; b=IiSreXoKmh6dWk7/IpjT8p2MhmRiFy1z3fVp8o0q4jyO1f3bdgEMLX6FtOsCAmmDd gzWaVr95O42zl4z4IEVpegk3KCuQbHQouM3i4nmZPqAnpK4ngn254XDqXFUxykzycU jB03iNT9ofMpYThKfuJEVawqT3iqvpSJHqUmfKDQPNwytu1ZfeZlaaKRiwsWR2fJfM IP3FZWXTgxWHG1BZDB5WPPNwP1Di4wOafQnweJopSZyWtaPRN26cXp84MjxxP08RWK Vp3yw5UAaRAUuVhAEjUg9fVVCH50WIw2e9+1H3KNZFV+K28EVYKrZevZ/xcHTimMAm bfHrAOprqabFw== X-Priority: 3 X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:225491745 Received-SPF: pass client-ip=212.3.242.68; envelope-from=leungbk@mailfence.com; helo=wilbur.contactoffice.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/14 21:39:31 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:193347 Archived-At: ------=_Part_623600_1736456432.1605407961413 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable See attached. --=C2=A0 Sent with https://mailfence.com Secure and private email ------=_Part_623600_1736456432.1605407961413 Content-Type: text/x-diff; charset=us-ascii; name=0001-Silence-byte-compiler-warning.patch Content-Transfer-Encoding: 7bit Content-Description: File Attachment: 0001-Silence-byte-compiler-warning.patch Content-Disposition: attachment; filename=0001-Silence-byte-compiler-warning.patch >From a958f4a95cd4e16a14c371e1046cbc5cd81a63fb Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Sat, 14 Nov 2020 18:36:09 -0800 Subject: [PATCH] ; Silence byte-compiler warning * lisp/woman.el: Declare imenu-add-to-menubar. --- lisp/woman.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/woman.el b/lisp/woman.el index 96ae7fe579..ebc679a8fc 100644 --- a/lisp/woman.el +++ b/lisp/woman.el @@ -1914,6 +1914,8 @@ woman-mode (let ((inhibit-read-only t)) (Man-highlight-references 'WoMan-xref-man-page))) +(declare-function imenu-add-to-menubar "imenu") + (defun woman-imenu (&optional redraw) "Add a \"Contents\" menu to the menubar. Optional argument REDRAW, if non-nil, forces mode line to be updated." -- 2.29.2 ------=_Part_623600_1736456432.1605407961413--