emacs-devel
[Top][All Lists]
Advanced

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

Re: declare-function in files from Gnus (hashcash.el, imap.el)


From: Ralf Angeli
Subject: Re: declare-function in files from Gnus (hashcash.el, imap.el)
Date: Sat, 01 Dec 2007 23:58:37 -0000

* Richard Stallman (2007-12-02) writes:

>     > `declare-function' has been discussed here at length. It is used to
>     > avoid the "unknown function" warnings produced by the byte compiler.
>
>     How about putting stuff like that in some sort of header file instead
>     of polluting the package code?
>
> No way!  I do not want to greatly increase in the number of files.

Then one could put all declarations into a single file.

But the point here is that people should take care when changing code
of packages which are supposed to work with other Emacs versions than
the one they are integrated in.

-- 
Ralf




reply via email to

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