+2000-06-27 Daiki Ueno <ueno@unixuser.org>
+
+ * mime-image.el (mime-image-insert): Synch with the latest image.el.
+ (mime-display-image): Don't pass underlying string "x".
+
2000-06-23 Yuuichi Teranishi <teranisi@gohome.org>
* mime-edit.el (mime-edit-quitting-method):
(if (nothing-image-instance-p (glyph-image-instance glyph)) nil
glyph)))
- (defun mime-image-insert (image string &optional area)
+ (defun mime-image-insert (image &optional string area)
(let ((extent (make-extent (point) (progn (insert string)(point)))))
(set-extent-property extent 'invisible t)
(set-extent-end-glyph extent image))))
(bitmap-read-xbm-buffer
(current-buffer))) nil) "\n")
(error nil)))
- (defun mime-image-insert (image string &optional area)
+ (defun mime-image-insert (image &optional string area)
(insert image)))
(error
(defalias 'mime-image-read-xbm-buffer
'mime-image-normalize-xbm-buffer)
- (defun mime-image-insert (image string &optional area)
+ (defun mime-image-insert (image &optional string area)
(save-restriction
(narrow-to-region (point)(point))
(let ((face (gensym "mii")))
(if (null image)
(message "Invalid glyph!")
(save-excursion
- (mime-image-insert image "x")
+ (mime-image-insert image)
(insert "\n")
(message "Decoding image... done")))))