From 8e14ce4b5c88b9ec04d3a38ed2fcb8aa72b4c627 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 14 Feb 2016 13:04:15 +1100 Subject: [PATCH] Declare rfc1843 instead of autoloading * lisp/gnus/gnus-art.el (rfc1843-decode-region): Declare instead of autoload. --- lisp/gnus/gnus-art.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 317d2c83f0f..a2dc82e6ff7 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el @@ -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))))) -- 2.39.2