]> git.eshelyaron.com Git - emacs.git/commit
Allow displaying images inline
authorRahguzar <rahguzar@zohomail.eu>
Tue, 24 Oct 2023 18:30:23 +0000 (20:30 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 25 Nov 2023 10:55:02 +0000 (12:55 +0200)
commit42545444055d102deeb2e5513ca20a060dca00f3
treecb8d50610a4164c7b8a26540642f8a155d2311c5
parent88bd83d17839f6df259c1fc820fdea320545ec4b
Allow displaying images inline

* lisp/net/shr.el
(shr-max-inline-image-size): New custom variable.
(shr--inline-image-p): New helper function to decide if an
image should be inserted inline.
(shr-insert, shr-put-image, shr-tag-img): Use
'shr-max-inline-image-size' to insert some images inline.
(Bug#66676)
lisp/net/shr.el