From 929ca92503a84dab4d5b83384efffe34f54ac23c Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 5 Jul 2011 19:45:24 -0700 Subject: [PATCH] * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Silence compiler. --- lisp/gnus/ChangeLog | 4 ++++ lisp/gnus/gnus-group.el | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index f8cc12b288f..6b3e10691d0 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,7 @@ +2011-07-06 Glenn Morris + + * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Silence compiler. + 2011-07-05 Lars Magne Ingebrigtsen * gnus.el (gnus-refer-article-method): Remove mention of nnspool, which diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index da6550c1680..da925700bd2 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el @@ -2469,6 +2469,8 @@ the bug number, and browsing the URL must return mbox output." number (cdr (assoc 'debian gnus-bug-group-download-format-alist)))) +(defvar debbugs-bug-number) ; debbugs-gnu + (defun gnus-read-ephemeral-emacs-bug-group (ids &optional window-conf) "Browse Emacs bugs IDS as an ephemeral group." (interactive (list (string-to-number @@ -2480,7 +2482,7 @@ the bug number, and browsing the URL must return mbox output." ids (cdr (assoc 'emacs gnus-bug-group-download-format-alist)) window-conf) - (when (boundp 'debbugs-summary-mode) + (when (fboundp 'debbugs-summary-mode) (with-current-buffer (window-buffer (selected-window)) (debbugs-summary-mode 1) (set (make-local-variable 'debbugs-bug-number) (car ids))))) -- 2.39.2