emacs-devel
[Top][All Lists]
Advanced

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

Re: "load-file" surreptitiously pushes directories onto load-path.


From: Alan Mackenzie
Subject: Re: "load-file" surreptitiously pushes directories onto load-path.
Date: 9 Apr 2007 12:16:16 +0200
Date: Mon, 9 Apr 2007 12:02:22 +0100
User-agent: Mutt/1.5.9i

Hi, Nick!

On Mon, Apr 09, 2007 at 08:59:06PM +1200, Nick Roberts wrote:
>  > Start a modern Emacs with
>  >     # emacs -Q

>  > In *scratch*, do
>  >     C-u M-: load-path

>  > Follow this up with
>  >     M-x load-file ~/cc-mode-5.31.n/tests/000tests.elc

>  > and repeat
>  >     C-u M-: load-path

>  > It will be seen that load-file has pushed the element
>  > "/home/acm/cc-mode-5.31.n" onto the front of load-path.  This is surely
>  > a bug.  And even if it's not, it ought to be!

> I suspect that 000tests.elc does this, not load-file.

Yes, that's exactly it.  Thanks for the help.

Sorry for wasting everybody's time.

> Nick

-- 
Alan.




reply via email to

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