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 18:09:50 +0100

* Dan Nicolaescu (2007-12-01) writes:

> Ralf Angeli <address@hidden> writes:
>
>   > * Reiner Steib (2007-11-30) writes:
>   > 
>   > > ... will break compatibility of Gnus with Emacs 21, Emacs 22.1 and
>   > > XEmacs when synced to Gnus repository (doesn't happen immediately,
>   > > because Miles is on a trip).  
>   > 
>   > There is the same problem with RefTeX.
>   > 
>   > Can somebody explain why these `declare-function' calls are needed?
>
> `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?

> Talking about RefTeX, can you please fix this warning:
>
> In reftex-make-separate-toc-frame:
> reftex-toc.el:998:35:Warning: `focus-frame' is an obsolete function (as
> of  Emacs 22.1); it does nothing.

As soon as I get a new computer I can fix that in the source
repository of RefTeX.  I don't have write access to Emacs' repository.

-- 
Ralf




reply via email to

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