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

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

bug#21104: 25.0.50; relative paths are added to load-path without -nsl (


From: Andreas Schwab
Subject: bug#21104: 25.0.50; relative paths are added to load-path without -nsl (bug#21104)
Date: Tue, 08 Dec 2015 19:16:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> Maybe I'm blind, but my reading of the code in init_lread indicates
> that it does make a difference:
>
>           Lisp_Object sitelisp;
>           sitelisp = decode_env_path (0, PATH_SITELOADSEARCH, 0);
>           if (! NILP (sitelisp)) Vload_path = nconc2 (sitelisp, Vload_path);
>
> My reading of this is that if we call decode_env_path with last
> argument non-zero, it will return nil, and Vload_path will not be
> modified by adding anything.  What am I missing?

decode_env_path never returns nil.

Andreas.

-- 
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."





reply via email to

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