aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-06-11 03:10:59 +0000
committerGlenn Morris2008-06-11 03:10:59 +0000
commit12c9fab645c25f2ba6c84a5029b883fee92af500 (patch)
tree14f8dda77ba1441ea806fa4507a52c4cbe2ee2d9
parentdbb6c370b1ff6494e2ef6eaeeb2c7ee6f0ef07a3 (diff)
downloademacs-12c9fab645c25f2ba6c84a5029b883fee92af500.tar.gz
emacs-12c9fab645c25f2ba6c84a5029b883fee92af500.zip
(image-size): Declare.
Remove unnecessary eval-and-compile of autoloads.
-rw-r--r--lisp/gnus/gnus.el8
-rw-r--r--lisp/gnus/mm-decode.el11
2 files changed, 11 insertions, 8 deletions
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el
index 0fec30f9562..5be5a6e1bb7 100644
--- a/lisp/gnus/gnus.el
+++ b/lisp/gnus/gnus.el
@@ -1,7 +1,8 @@
1;;; gnus.el --- a newsreader for GNU Emacs 1;;; gnus.el --- a newsreader for GNU Emacs
2 2
3;; Copyright (C) 1987, 1988, 1989, 1990, 1993, 1994, 1995, 1996, 1997, 1998, 3;; Copyright (C) 1987, 1988, 1989, 1990, 1993, 1994, 1995, 1996, 1997, 1998,
4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
5;; Free Software Foundation, Inc.
5 6
6;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet> 7;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet>
7;; Lars Magne Ingebrigtsen <larsi@gnus.org> 8;; Lars Magne Ingebrigtsen <larsi@gnus.org>
@@ -917,8 +918,7 @@ be set in `.emacs' instead."
917 918
918(defvar gnus-group-buffer "*Group*") 919(defvar gnus-group-buffer "*Group*")
919 920
920(eval-and-compile 921(autoload 'gnus-play-jingle "gnus-audio")
921 (autoload 'gnus-play-jingle "gnus-audio"))
922 922
923(defface gnus-splash 923(defface gnus-splash
924 '((((class color) 924 '((((class color)
@@ -993,6 +993,8 @@ be set in `.emacs' instead."
993 (cdr (assq gnus-logo-color-style gnus-logo-color-alist)) 993 (cdr (assq gnus-logo-color-style gnus-logo-color-alist))
994 "Colors used for the Gnus logo.") 994 "Colors used for the Gnus logo.")
995 995
996(declare-function image-size "image.c" (spec &optional pixels frame))
997
996(defun gnus-group-startup-message (&optional x y) 998(defun gnus-group-startup-message (&optional x y)
997 "Insert startup message in current buffer." 999 "Insert startup message in current buffer."
998 ;; Insert the message. 1000 ;; Insert the message.
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el
index 6ee254ac03e..721e4082240 100644
--- a/lisp/gnus/mm-decode.el
+++ b/lisp/gnus/mm-decode.el
@@ -35,11 +35,10 @@
35(eval-when-compile (require 'cl) 35(eval-when-compile (require 'cl)
36 (require 'term)) 36 (require 'term))
37 37
38(eval-and-compile 38(autoload 'mm-inline-partial "mm-partial")
39 (autoload 'mm-inline-partial "mm-partial") 39(autoload 'mm-inline-external-body "mm-extern")
40 (autoload 'mm-inline-external-body "mm-extern") 40(autoload 'mm-extern-cache-contents "mm-extern")
41 (autoload 'mm-extern-cache-contents "mm-extern") 41(autoload 'mm-insert-inline "mm-view")
42 (autoload 'mm-insert-inline "mm-view"))
43 42
44(defvar gnus-current-window-configuration) 43(defvar gnus-current-window-configuration)
45 44
@@ -1438,6 +1437,8 @@ be determined."
1438 (intern type)) 1437 (intern type))
1439 :data (buffer-string))))))) 1438 :data (buffer-string)))))))
1440 1439
1440(declare-function image-size "image.c" (spec &optional pixels frame))
1441
1441(defun mm-image-fit-p (handle) 1442(defun mm-image-fit-p (handle)
1442 "Say whether the image in HANDLE will fit the current window." 1443 "Say whether the image in HANDLE will fit the current window."
1443 (let ((image (mm-get-image handle))) 1444 (let ((image (mm-get-image handle)))