mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-01 18:52:51 -07:00
Load w3m in Gnus if required
* lisp/gnus/gnus-art.el (gnus-article-show-images): Ensure that w3m is loaded if the user requests that we use it.
This commit is contained in:
parent
271d8510c4
commit
e7c813e912
1 changed files with 3 additions and 1 deletions
|
|
@ -2217,7 +2217,9 @@ This only works if the article in question is HTML."
|
|||
(save-restriction
|
||||
(widen)
|
||||
(if (eq mm-text-html-renderer 'w3m)
|
||||
(w3m-toggle-inline-images)
|
||||
(progn
|
||||
(require 'w3m)
|
||||
(w3m-toggle-inline-images))
|
||||
(dolist (region (gnus-find-text-property-region (point-min) (point-max)
|
||||
'image-displayer))
|
||||
(cl-destructuring-bind (start end function) region
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue