emacs-devel
[Top][All Lists]
Advanced

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

Re: Byte compiling questions


From: Stefan Monnier
Subject: Re: Byte compiling questions
Date: Mon, 03 Dec 2001 02:33:36 -0500

> > >       ** reference to free variable mh-scan-subject-regexp
> > Is it a (defvar mh-scan-subject-regexp <val>) or a
> > (defvar mh-scan-subject-regexp) ?
> > If the latter, it's no wonder because when the byte-compiler loads
> > mh-e.el the (defvar mh-scan-subject-regexp) will have no effect
> > (it only has effect when the byte-compiler actually byte-compiles
> > this defvar, so it has to be in the same file).
>   The former! So why am I still getting the warning?

No idea.

>   I wouldn't classify the autoloads as ugly, would you?

No, since that's indeed what you want (you want the function
to be loaded when it's called but not earlier).

        
        Stefan




reply via email to

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