unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#44651: [PATCH] Silence byte-compiler warning
@ 2020-11-15  2:39 Brian Leung via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2020-11-16 22:46 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Brian Leung via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2020-11-15  2:39 UTC (permalink / raw)
  To: 44651

[-- Attachment #1: Type: text/plain, Size: 80 bytes --]

See attached.

-- 
Sent with https://mailfence.com
Secure and private email

[-- Attachment #2: File Attachment: 0001-Silence-byte-compiler-warning.patch --]
[-- Type: text/x-diff, Size: 767 bytes --]

From a958f4a95cd4e16a14c371e1046cbc5cd81a63fb Mon Sep 17 00:00:00 2001
From: Brian Leung <leungbk@mailfence.com>
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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-12-14 17:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-15  2:39 bug#44651: [PATCH] Silence byte-compiler warning Brian Leung via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-16 22:46 ` Lars Ingebrigtsen
2020-11-16 23:52   ` Brian Leung via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-17  0:58     ` Lars Ingebrigtsen
2020-12-14 17:15       ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).