emacs-devel
[Top][All Lists]
Advanced

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

Re: declare-function from included file


From: Dan Nicolaescu
Subject: Re: declare-function from included file
Date: Wed, 19 Mar 2008 14:19:56 -0700

Ralf Angeli <address@hidden> writes:

  > * Dan Nicolaescu (2008-03-19) writes:
  > 
  > > In CVS trunk reftex compiles without warnings.
  > 
  > In RefTeX's own repository compiling still emits warnings.

What's wrong with just copying the declare-functions from emacs CVS to
get rid of them? 

  > > There are 10
  > > `declare-function's in reftex*el, 8 of which are in reftex-auc.el.
  > > That does not sound like too much, it's hard to see that it's even worth 
discussing...
  > 
  > It's not just the `declare-function' stuff I'm after.  RefTeX contains a
  > lot of `defvar' statements which are only there for the sake of the byte
  > compiler.  
  >
  > And I'd like to put those into a separate file as well along with
  > stuff like `declare-function' calls.

defvars work, they are well known by any elisp hackers.
Why develop a new facility the everyone looking at the code will have to
figure out?
There's not that many defvars either, about 50 if my grep command was right.




reply via email to

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