The problem was fixed by exchanging the order of arguments in the call
that generated the above files in the Makefile, after examining
(describe-function 'batch-update-autoloads).
This is probably not a big problem nowadays that eshell is distributed
with XEmacs, but it might save somebody else out there some time.
--- eshell-2.4.2/Makefile Fri Oct 13 12:49:59 2000
+++ eshell/Makefile Mon Nov 11 13:06:11 2002
@@ -26,7 +26,7 @@
infodir = $(prefix)/info
docdir = $(prefix)/doc
-EMACS = emacs
+EMACS = xemacs
MAKEINFO = makeinfo
TEXI2DVI = texi2dvi
SHELL = /bin/sh
@@ -110,7 +110,7 @@
echo ";;; DO NOT MODIFY THIS FILE" > eshell-auto.el
echo "(if (featurep 'eshell-auto) (error \"Already loaded\"))" \
>> eshell-auto.el
- $(BEMACS) -f eshell-generate-autoloads ./eshell-auto.el .
+ $(BEMACS) -f eshell-generate-autoloads . ./eshell-auto.el
echo "(provide 'eshell-auto)" >> eshell-auto.el
ln -f eshell-auto.el auto-autoloads.el
--- pcomplete-1.1.7/Makefile Thu Apr 27 11:49:54 2000
+++ pcomplete/Makefile Mon Nov 11 13:12:44 2002
@@ -26,7 +26,7 @@
infodir = $(prefix)/info
docdir = $(prefix)/doc
-EMACS = emacs
+EMACS = xemacs
MAKEINFO= makeinfo
TEXI2DVI= texi2dvi
SHELL = /bin/sh
@@ -98,7 +98,7 @@
echo ";;; DO NOT MODIFY THIS FILE" > pcmpl-auto.el
echo "(if (featurep 'pcmpl-auto) (error \"Already loaded\"))" \
>> pcmpl-auto.el
- $(BEMACS) -f pcomplete-generate-autoloads ./pcmpl-auto.el .
+ $(BEMACS) -f pcomplete-generate-autoloads . ./pcmpl-auto.el
echo "(provide 'pcmpl-auto)" >> pcmpl-auto.el
ln pcmpl-auto.el auto-autoloads.el
--
Christian Lemburg, <lem...@aixonix.de>, http://www.clemburg.com/
"Calvin Coolidge looks as if he had been weaned on a pickle."
-- Alice Roosevelt Longworth