* net/shr.el (image-size, image-animate): Declare.
authorGlenn Morris <rgm@gnu.org>
Wed, 18 Sep 2013 04:53:05 +0000 (21:53 -0700)
committerGlenn Morris <rgm@gnu.org>
Wed, 18 Sep 2013 04:53:05 +0000 (21:53 -0700)
lisp/ChangeLog
lisp/net/shr.el

index 3de4054..1cb9f9e 100644 (file)
@@ -33,6 +33,8 @@
 
        * net/gnutls.el (gnutls-log-level): Declare.
 
+       * net/shr.el (image-size, image-animate): Declare.
+
        * simple.el (font-info): Declare.
 
        * subr.el (x-popup-dialog): Declare.
index 9cac618..b742172 100644 (file)
@@ -732,6 +732,10 @@ If EXTERNAL, browse the URL using `shr-external-browser'."
        (setq payload (base64-decode-string payload)))
       payload)))
 
+;; Behind display-graphic-p test.
+(declare-function image-size "image.c" (spec &optional pixels frame))
+(declare-function image-animate "image" (image &optional index limit))
+
 (defun shr-put-image (spec alt &optional flags)
   "Insert image SPEC with a string ALT.  Return image.
 SPEC is either an image data blob, or a list where the first