changeset 38635:b6a0070476c7

(autoload): Don't autoload `diff-mode' if it's already fboundp. Add INTERACTIVE arg to autoload form.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 01 Aug 2001 13:44:45 +0000
parents 488827a6778b
children c1dc55683398
files lisp/gnus/mm-view.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/mm-view.el	Wed Aug 01 13:27:18 2001 +0000
+++ b/lisp/gnus/mm-view.el	Wed Aug 01 13:44:45 2001 +0000
@@ -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 <larsi@gnus.org>
 ;; 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