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

Re: wl-demo should not define make-extent



> > > Hi. There is a particular line in wl-demo.el which says:
> > > (eval-when-compile
> > > …
> > >   (defalias-maybe 'make-extent 'ignore)
> > > …
> > > )
> 
> > >   This should not be made, as stated in http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6748#10
> > 
> > The form `(if (featurep 'xemacs) ...)' is special for Emacs 22
> > and greater, and XEmacs 21.5.  This makes the byte-compiler
> > completely ignore XEmacs code when compiling under Emacs (and
> > Emacs code when compiling under XEmacs).  So do `when', `cond',
> > etc.   So, I think we can remove those `defalias-maybe's.  I'll
> > work on this, later.  Thanks.
> 
> I introduced another way that doesn't forsake Emacs 21 and XEmacs
> 21.4.  Try the Wanderlust CVS trunk.

I think we need the same trick for other .el files which use
eval-when-compile() and defalias-maybe() combination.

-- 
Kazuhiro Ito