changeset 95814:eb119cbc1715

(image-size): Declare. Remove unnecessary eval-and-compile of autoloads.
author Glenn Morris <rgm@gnu.org>
date Wed, 11 Jun 2008 03:10:59 +0000
parents 986aaff044ca
children 83390f49235e
files lisp/gnus/mm-decode.el
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/mm-decode.el	Wed Jun 11 03:10:43 2008 +0000
+++ b/lisp/gnus/mm-decode.el	Wed Jun 11 03:10:59 2008 +0000
@@ -35,11 +35,10 @@
 (eval-when-compile (require 'cl)
 		   (require 'term))
 
-(eval-and-compile
-  (autoload 'mm-inline-partial "mm-partial")
-  (autoload 'mm-inline-external-body "mm-extern")
-  (autoload 'mm-extern-cache-contents "mm-extern")
-  (autoload 'mm-insert-inline "mm-view"))
+(autoload 'mm-inline-partial "mm-partial")
+(autoload 'mm-inline-external-body "mm-extern")
+(autoload 'mm-extern-cache-contents "mm-extern")
+(autoload 'mm-insert-inline "mm-view")
 
 (defvar gnus-current-window-configuration)
 
@@ -1438,6 +1437,8 @@
 	    (intern type))
 	:data (buffer-string)))))))
 
+(declare-function image-size "image.c" (spec &optional pixels frame))
+
 (defun mm-image-fit-p (handle)
   "Say whether the image in HANDLE will fit the current window."
   (let ((image (mm-get-image handle)))