Make image-mode respect `imagemagick-types-inhibit'
commitc768fe1be0d68c182d037891e0946983e5fbe644
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 14 Apr 2018 13:36:53 +0000 (14 15:36 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 14 Apr 2018 13:36:53 +0000 (14 15:36 +0200)
tree576f777ed6d5e3f55bff9773deda9fc997616023
parent42141da5b0885b199636524c1e57f08ee1723aea
Make image-mode respect `imagemagick-types-inhibit'

* lisp/image-mode.el (image--imagemagick-wanted-p): New function
(bug#29584).
(image-toggle-display-image): Use it to see whether we want to use
imagemagick.
etc/NEWS
lisp/image-mode.el