From: Eli Zaretskii Date: Sat, 8 Apr 2023 13:00:29 +0000 (+0300) Subject: Allow reindentation of images inserted by 'mm-inline-image' X-Git-Tag: emacs-29.0.90~10 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=14d1c00e806;p=emacs.git 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) --- diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el index 8dfb0deb418..2c407353559 100644 --- a/lisp/gnus/mm-view.el +++ b/lisp/gnus/mm-view.el @@ -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)) - " ") + "x") (insert "\n") (mm-handle-set-undisplayer handle