mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-05 15:11:30 -08:00
Make image-map commands work with inline image attachments in mm
* lisp/gnus/mm-view.el (mm-inline-image): Use insert-image so that point movement is more pleasant and so that image-map commands work (bug#56554).
This commit is contained in:
parent
e802171902
commit
d2186160a9
1 changed files with 2 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ This is only used if `mm-inline-large-images' is set to
|
|||
(defun mm-inline-image (handle)
|
||||
(let ((b (point-marker))
|
||||
(inhibit-read-only t))
|
||||
(put-image
|
||||
(insert-image
|
||||
(let ((image (mm-get-image handle)))
|
||||
(if (eq mm-inline-large-images 'resize)
|
||||
(gnus-rescale-image
|
||||
|
|
@ -98,7 +98,7 @@ This is only used if `mm-inline-large-images' is set to
|
|||
(truncate (* mm-inline-large-images-proportion
|
||||
(- (nth 3 edges) (nth 1 edges)))))))
|
||||
image))
|
||||
b)
|
||||
" ")
|
||||
(insert "\n")
|
||||
(mm-handle-set-undisplayer
|
||||
handle
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue