projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
271d851
)
Load w3m in Gnus if required
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 12 Apr 2018 19:34:37 +0000
(21:34 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 12 Apr 2018 19:34:37 +0000
(21:34 +0200)
* lisp/gnus/gnus-art.el (gnus-article-show-images): Ensure that
w3m is loaded if the user requests that we use it.
lisp/gnus/gnus-art.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/gnus-art.el
b/lisp/gnus/gnus-art.el
index b1e23a47ffb7e54ef056c98997bb4cdce55623f9..74915a8cda90272ffebde46cd1c1d3de6ec48fc8 100644
(file)
--- a/
lisp/gnus/gnus-art.el
+++ b/
lisp/gnus/gnus-art.el
@@
-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