1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* net/shr.el (image-size, image-animate): Declare.

This commit is contained in:
Glenn Morris 2013-09-17 21:53:05 -07:00
parent ffb82dbda3
commit 986ed13557
2 changed files with 6 additions and 0 deletions

View 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.

View 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