summaryrefslogtreecommitdiff
path: root/lisp/net
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-09-17 21:53:05 -0700
committerGlenn Morris <rgm@gnu.org>2013-09-17 21:53:05 -0700
commit986ed13557e677f6438c130061afeaaa120ae393 (patch)
treeb48ae1a9fe6867fe1ab80baade6f542eabb97d39 /lisp/net
parentffb82dbda37f51c7a997fee74646e94647effad5 (diff)
downloademacs-986ed13557e677f6438c130061afeaaa120ae393.tar.gz
* net/shr.el (image-size, image-animate): Declare.
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/shr.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/net/shr.el b/lisp/net/shr.el
index 9cac618b159..b742172be46 100644
--- a/lisp/net/shr.el
+++ b/lisp/net/shr.el
@@ -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