]> code.delx.au - gnu-emacs/blobdiff - lisp/image-mode.el
Publicize cl--generic-all-functions
[gnu-emacs] / lisp / image-mode.el
index 38a25d2b7a63cbd4bf06b3dfe15ca4310963f472..e549b49001e0645a2897c623b6de89ee4a61a8a0 100644 (file)
@@ -169,7 +169,7 @@ return the display size taking the slice property into account.  If the list
 contains `image' but not `slice', return the `image-size' of the specified
 image."
   (cond ((eq (car spec) 'xwidget)
-         (let ((xwi (xwidget-info (xwidget-at 1)))) ; FIXME point-min?
+         (let ((xwi (xwidget-info (xwidget-at (point-min)))))
            (cons (aref xwi 2) (aref xwi 3))))
         ((eq (car spec) 'image)
          (image-size spec pixels frame))