From 7b9946cfd9ce13a9435857422303fd2ce7957800 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sat, 21 Apr 2012 09:55:02 +0200 Subject: [PATCH] * gnus.el (debbugs-gnu): Don't override existing autoload definition. --- lisp/gnus/ChangeLog | 4 ++++ lisp/gnus/gnus.el | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) 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) -- 2.39.2