emacs-devel
[Top][All Lists]
Advanced

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

Re: Does declare-function find define-minor-mode?


From: Chong Yidong
Subject: Re: Does declare-function find define-minor-mode?
Date: Mon, 20 Dec 2010 18:48:44 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Lennart Borgman <address@hidden> writes:

> I get a warning when byte compiling that the function is not defined
> even though I have this line:
>
>   (declare-function nxhtml-validation-header-mode "nxhtml-mode")
>
> The function is a minor mode. Is that the problem or could it be
> something else?

A declare-function does not cause Emacs to look up the original
definition when byte-compiling, so it should not matter if the function
is defined via define-minor-mode.



reply via email to

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