From: Glenn Morris Date: Sat, 27 Apr 2013 21:32:17 +0000 (-0700) Subject: * gnus/gnus.el (gnus-list-debbugs): Use require rather than autoload. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~349 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7365d35ddb1b186f530b5e33e4f558d9eb919518;p=emacs.git * gnus/gnus.el (gnus-list-debbugs): Use require rather than autoload. Fixes: debbugs:14262 --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index e10dd1e94c7..7a6856a784a 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2013-04-27 Glenn Morris + + * gnus.el (gnus-list-debbugs): + Use require rather than autoload. (Bug#14262) + 2013-04-26 Katsumi Yamaoka * mail-source.el (mail-source-fetch-pop, mail-source-check-pop): diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index ffb4694f4a8..f6c1327c78c 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el @@ -4433,12 +4433,13 @@ prompt the user for the name of an NNTP server to use." (gnus-1 arg dont-connect slave) (gnus-final-warning))) -(eval-and-compile - (unless (fboundp 'debbugs-gnu) - (autoload 'debbugs-gnu "debbugs-gnu" "List all outstanding Emacs bugs." t))) +(declare-function debbugs-gnu "ext:debbugs-gnu" + (severities &optional packages archivedp suppress tags)) + (defun gnus-list-debbugs () "List all open Gnus bug reports." (interactive) + (require 'debbugs-gnu) (debbugs-gnu nil "gnus")) ;; Allow redefinition of Gnus functions.