]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't autoload function from w3m
authorTim Landscheidt <tim@tim-landscheidt.de>
Thu, 12 Apr 2018 19:31:49 +0000 (21:31 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 12 Apr 2018 19:31:49 +0000 (21:31 +0200)
* lisp/gnus/gnus-art.el (w3m-toggle-inline-images): Don't use
autoload for packages that may not be installed (bug#25604).

lisp/gnus/gnus-art.el

index c11cf574a398023f7f343cfef1d8caabd5f48a0b..b1e23a47ffb7e54ef056c98997bb4cdce55623f9 100644 (file)
@@ -2207,7 +2207,7 @@ unfolded."
       (dolist (elem gnus-article-image-alist)
        (gnus-delete-images (car elem))))))
 
-(autoload 'w3m-toggle-inline-images "w3m")
+(declare-function w3m-toggle-inline-images "w3m")
 
 (defun gnus-article-show-images ()
   "Show any images that are in the HTML-rendered article buffer.