From: Andreas Schwab Date: Sat, 21 Apr 2012 07:55:02 +0000 (+0200) Subject: * gnus.el (debbugs-gnu): Don't override existing autoload definition. X-Git-Tag: emacs-24.0.96~28 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7b9946cfd9ce13a9435857422303fd2ce7957800;p=emacs.git * gnus.el (debbugs-gnu): Don't override existing autoload definition. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index b1f298bdb16..9d9ffb2fcbd 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,7 @@ +2012-04-21 Andreas Schwab + + * gnus.el (debbugs-gnu): Don't override existing autoload definition. + 2012-04-12 Lars Magne Ingebrigtsen * gnus-msg.el (gnus-inews-insert-gcc): Don't do the alist stuff when we diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index cc4f2eb1e7a..635bb6fc96f 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el @@ -4397,7 +4397,9 @@ prompt the user for the name of an NNTP server to use." (gnus-1 arg dont-connect slave) (gnus-final-warning))) -(autoload 'debbugs-gnu "debbugs-gnu") +(eval-and-compile + (unless (fboundp 'debbugs-gnu) + (autoload 'debbugs-gnu "debbugs-gnu" "List all outstanding Emacs bugs." t))) (defun gnus-list-debbugs () "List all open Gnus bug reports." (interactive)