help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot open load file: disp-table - error running batch with EMACSLO


From: Eli Zaretskii
Subject: Re: Cannot open load file: disp-table - error running batch with EMACSLOADPATH
Date: 25 Feb 2004 07:27:21 +0200

> From: "Drew Adams" <address@hidden>
> Date: Tue, 24 Feb 2004 18:09:02 -0800
> 
> It doesn't matter what the options to emacs -batch are, and it doesn't seem
> to have anything to do with any site file:
> 
>   emacs -batch
>   emacs -batch -q          [-batch should imply -q anyway]
>   emacs --no-site-file -batch -eval '(message "hello")'
>   emacs -nw --no-site-file -batch -eval '(message "hello")'
> 
>   emacs -batch -l mylib
>   emacs -batch -l mylib -f myfun
> 
> These all give the same error when EMACSLOADPATH is defined. The first four
> work OK when it is not defined (the last two need a load-path).

What value do you have EMACSLOADPATH defined to?  If it doesn't
include the standard Lisp directory where disp-table.elc lives, you
will indeed see the error message.

What happens is that setting EMACSLOADPATH overrides the built-in
value used by Emacs to look for Lisp files.  If you still want Emacs
to find its bundled Lisp files, you need to make sure that
EMACSLOADPATH includes the directories where those bundled files live.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]