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: Dan Nicolaescu
Subject: Re: declare-function in files from Gnus (hashcash.el, imap.el)
Date: Sun, 02 Dec 2007 14:37:23 -0800

Ralf Angeli <address@hidden> writes:

  > * Richard Stallman (2007-12-02) writes:
  > 
  > >     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.
  > >
  > > It isn't crucial for the files in the Emacs repository to work with
  > > old Emacs versions.  They just have to work in the next release.
  > 
  > If those files belong to a package which is also being maintained in a
  > different repository and released independently of Emacs, this will
  > lead to a fork. 

Such files can just add a 1 line compatibility code:

(unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))




reply via email to

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