Allow reindentation of images inserted by 'mm-inline-image'

* lisp/gnus/mm-view.el (mm-inline-image): Use "x" as text on which
to put the image 'display' property, so that indentation commands
don't destroy the image inadvertently.  (Bug#62637)
This commit is contained in:
Eli Zaretskii 2023-04-08 16:00:29 +03:00
parent b63a9eda01
commit 14d1c00e80

View file

@ -98,7 +98,7 @@ This is only used if `mm-inline-large-images' is set to
(truncate (* mm-inline-large-images-proportion (truncate (* mm-inline-large-images-proportion
(- (nth 3 edges) (nth 1 edges))))))) (- (nth 3 edges) (nth 1 edges)))))))
image)) image))
" ") "x")
(insert "\n") (insert "\n")
(mm-handle-set-undisplayer (mm-handle-set-undisplayer
handle handle