QUERY
* Stephen J Turnbull <stephen(a)xemacs.org> writes:
Because the code is currently duplicated in 21.5, no autoloads
are provided. To move this code out of 21.5 would require
infrastructure to distribute packages with the core, something
I've been thinking about but haven't come up with a robust
scheme yet.
As SXEmacs also has these macros and uses them extensively throughout
its core lisp, how about adding a form like...
(when (and (fboundp #'with-fboundp)
(equal (file-name-nondirectory
(describe-symbol-find-file 'with-fboundp))
"bytecomp-runtime.elc"))
(error "bytedecl not loaded: already implemented in your emacs"))
...to the top of bytedecl.el. That way if any SXEmacs or XEmacs 21.5
user tries to load bytedecl they'll quickly see the error of their
ways.:-)
However, packages can `(require 'bytedecl)' and use them in
21.4
It might pay to encourage package authors (via bytedecl's commentary)
to use...
(unless (fboundp #'with-fboundp)
(require 'bytedecl))
...as a further safeguard for 21.5 and SXEmacs users.
(lightly tested, painful to test because the only available corpus
of elisp that uses them heavily is 21.5 core).
They work fine in SXEmacs, so I doubt there'll be any problems for
XEmacs 21.4.
--
|---<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