Didier Verna <verna(a)inf.enst.fr> writes in xemacs-beta(a)xemacs.org:
Holger Schauer <Holger.Schauer(a)gmx.de> writes:
> So, is it possible in 21.0 to really dump a package
Two ways. One can follow the instructions in lisp/site-load.el and
create a site-packages file.
The way is to put together a custom dumped-lisp.el somewhere in the
load-path. It should work for the file to be in site-lisp/ if
site-lisp is configured into your XEmacs, or into the
xemacs-packages/lisp/ directory.
Packages appearing in dumped-lisp.el are really dumped. This is
restricted to some stuff from the lisp directory in the core distrib.
Restricted in the sense of being distributed from
ftp.xemacs.org.
Installers are free to do The Right Thing for their site. The point
of the restriction on our side is to give the installer maximum
flexibility on how much stuff gets dumped. If everyone at a site uses
package `foo' and foo is relatively static then it is an excellent
candidate for dumping. A dumped package that isn't used is pure, 100%
wasted space.
An undumped lisp package can be entirely eliminated by deleting its
lisp directory. A dumped lisp package cannot be eliminated without
redumping the xemacs binary.