From: Gerd Moellmann Date: Wed, 1 Aug 2001 13:44:45 +0000 (+0000) Subject: (autoload): Don't autoload `diff-mode' if it's X-Git-Tag: emacs-pretest-21.0.105~330 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=39e72e557e1674a915c79a6b076517ecf8e311e7;p=emacs.git (autoload): Don't autoload `diff-mode' if it's already fboundp. Add INTERACTIVE arg to autoload form. --- diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el index a54fe0317b8..89b0e5e458c 100644 --- a/lisp/gnus/mm-view.el +++ b/lisp/gnus/mm-view.el @@ -1,5 +1,5 @@ ;;; mm-view.el --- functions for viewing MIME objects -;; Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. +;; Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. ;; Author: Lars Magne Ingebrigtsen ;; This file is part of GNU Emacs. @@ -34,7 +34,8 @@ (autoload 'vcard-parse-string "vcard") (autoload 'vcard-format-string "vcard") (autoload 'fill-flowed "flow-fill") - (autoload 'diff-mode "diff-mode")) + (unless (fboundp 'diff-mode) + (autoload 'diff-mode "diff-mode" "" t nil))) ;;; ;;; Functions for displaying various formats inline