Johann 'Myrkraverk' Oskarsson writes:
I forgot to mention, that when not in -batch mode, module-directory
has this value
"/opt/myrkraverk/xemacs/21.4.22-mule/lib/xemacs-21.4.22/i386-pc-solaris2.11/modules/"
which is correct, despite the repetitions.
In lisp/startup.el:startup-setup-paths, I think the following code is
missing:
(setq module-directory (paths-find-module-directory emacs-roots))
(setq site-module-directory (and (null inhibit-site-modules)
(paths-find-site-module-directory
emacs-roots)))
(setq module-load-path (paths-construct-module-load-path
emacs-roots
module-directory
site-module-directory))
You may wish to protect that with (when (noninteractive) ...), as I
suspect that this functionality was moved from C to Lisp in 21.5. I
would suggest placing it after the (setq load-path ...) form in that
function (that's where it is in dump-paths.el and in 21.5 startup.el).
There's also some --debug-paths support I omitted above. You can find
it in dump-paths.el.
I don't understand why this works interactively but not in batch.
Steve
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta