APPROVE 21.5 RECOMMEND 21.4
This patch optimises #'featurep for the cases...
(featurep 'xemacs) and (featurep 'sxemacs)
...making the former be always t and the latter be nil. It also works
for the advanced form of #'featurep...
(featurep '(and foo bar))
The advantage is that it will suppress byte-compiler warnings.
I recommend that this be added to 21.4 as well, although the regexp
needs to be converted from a raw string to a normal string (remove the
`#r' and double the number of '\').
Norbert, would you mind adding this to 21.5 for me. Thanks!
2007-09-02 Steve Youngs <steve(a)sxemacs.org>
* byte-optimize.el (byte-optimize-featurep): New. Optimise
feature 'sxemacs to nil and 'xemacs to t. This is along the same
lines as GNU/Emacs where they optimise both 'xemacs and 'sxemacs
to nil. It has the added advantage of suppressing byte-compiler
warnings in most cases.
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| SXEmacs - The only _______ you'll ever need. |
| Fill in the blank, yes, it's THAT good! |
|------------------------------------<steve(a)sxemacs.org>---|
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches