emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] master f6d71b5 2/2: Fix compilation warnings in gnus-a


From: Stefan Monnier
Subject: Re: [Emacs-diffs] master f6d71b5 2/2: Fix compilation warnings in gnus-art.el
Date: Sat, 13 Feb 2016 08:13:41 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> +(autoload 'rfc1843-decode-region "rfc1843")

Bad idea.

>  (defun article-decode-HZ ()
>    "Translate a HZ-encoded article."
>    (interactive)
> -  (require 'rfc1843)

Better keep this require, and replace the above autoload with
a `declare-function'.  Or else move the require to top-level.  Or mark
rfc1843-decode-region as autoloaded.


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]