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

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

bug#17848: #17848 add suffix search to -l even when directory part in ar


From: Eli Zaretskii
Subject: bug#17848: #17848 add suffix search to -l even when directory part in argument (WAS: Re: bug#16406: load prefers directories...)
Date: Mon, 05 Sep 2016 18:07:39 +0300

> From: npostavs@users.sourceforge.net
> Cc: 17848@debbugs.gnu.org,  rgm@gnu.org
> Date: Sun, 04 Sep 2016 18:06:52 -0400
> 
> So now in the context of *this* bug, I think `locate-file' is needed.
> The current directory needs to be searched for suffixed versions, but we
> can't let `load' do that without adding "." to `load-path'.

I'm not sure.  Wouldn't adding the leading directory to load-path in a
let-binding be a cleaner solution?  IOW, I don't understand the reason
for the "Take file from default dir if it exists there" logic in the
first place -- what are we gaining there?

Thanks.





reply via email to

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