]> git.eshelyaron.com Git - emacs.git/commitdiff
Declare rfc1843 instead of autoloading
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 14 Feb 2016 02:04:15 +0000 (13:04 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 14 Feb 2016 02:04:25 +0000 (13:04 +1100)
* lisp/gnus/gnus-art.el (rfc1843-decode-region): Declare
instead of autoload.

lisp/gnus/gnus-art.el

index 317d2c83f0fb9078657967d5bd50e97c157b5bb4..a2dc82e6ff76461b689baf53b70e4ff54b855561 100644 (file)
@@ -2671,11 +2671,12 @@ If READ-CHARSET, ask for a coding system."
           (point-min) (point-max)
           (mm-charset-to-coding-system charset nil t)))))))
 
-(autoload 'rfc1843-decode-region "rfc1843")
+(declare-function rfc1843-decode-region "rfc1843" (from to))
 
 (defun article-decode-HZ ()
   "Translate a HZ-encoded article."
   (interactive)
+  (require 'rfc1843)
   (save-excursion
     (let ((inhibit-read-only t))
       (rfc1843-decode-region (point-min) (point-max)))))