emacs-devel
[Top][All Lists]
Advanced

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

Re: Byte compiler say an autoloaded function "might not be defined at ru


From: Lennart Borgman
Subject: Re: Byte compiler say an autoloaded function "might not be defined at runtime", why?
Date: Wed, 31 Dec 2008 00:38:24 +0100

On Tue, Dec 30, 2008 at 9:12 PM, Stefan Monnier
<address@hidden> wrote:
>> When I byte compile a file with an autoload
>>   ;;;###autoload
>>  (define-minor-mode nxml-where-mode
>> the byte compiler says
>>   nxml-where.el:691:1:Warning: the following functions might not be defined
>>       at runtime: nxml-where-mode
>> I think it wants to tell me something, but what? Does it want me to do
>> something?
>
> I just tried to byte-compile a file that contains just
>
>   ;;;###autoload
>   (define-minor-mode nxml-where-mode "asdg" :init-value nil
>     (toto))
>
> and I saw no such warning.

Same for me, but I see these warnings when I byte-compile nXhtml. I
tried to track it down, but failed so far. It is reproducable though.
Load nXhtml and do

   M-x nxhtmlmaint-start-byte-compilation




reply via email to

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