diff options
author | Glenn Morris <rgm@gnu.org> | 2008-06-11 03:11:14 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2008-06-11 03:11:14 +0000 |
commit | b882f02cebf2c8aa8d36fc4489568ceb6e9e979c (patch) | |
tree | 4a2fa86e7b94189cc31e8c629b00f0608ea345d0 | |
parent | 12c9fab645c25f2ba6c84a5029b883fee92af500 (diff) | |
download | emacs-b882f02cebf2c8aa8d36fc4489568ceb6e9e979c.tar.gz |
(declare-function): Add compat definition.
(image-size): Declare.
-rw-r--r-- | lisp/gnus/gnus-picon.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/gnus/gnus-picon.el b/lisp/gnus/gnus-picon.el index e1ee6b78403..c462345fc5c 100644 --- a/lisp/gnus/gnus-picon.el +++ b/lisp/gnus/gnus-picon.el @@ -38,6 +38,10 @@ ;; ;;; Code: +;; For Emacs < 22.2. +(eval-and-compile + (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) + (eval-when-compile (require 'cl)) (require 'gnus) @@ -165,6 +169,8 @@ replacement is added." ;;; Functions that does picon transformations: +(declare-function image-size "image.c" (spec &optional pixels frame)) + (defun gnus-picon-transform-address (header category) (gnus-with-article-headers (let ((addresses |