|
From: | Alex Kosorukoff |
Subject: | bug#17467: 24.3; locate-library returning spurious path |
Date: | Sun, 11 May 2014 17:41:48 -0700 |
> Yes, this makes sense. Here is a patch that the issues you mentioned.I'm still not sure which situations you want to exclude, so it's hard to
judge whether your patch does do it...
> + (locate-file library...but special casing ".el.gz" is definitely not a good idea. Why would
> + (or path load-path)
> + (unless (or nosuffix (string-suffix-p ".el.gz" library))
it need special treatment?
It's extremely rare for `library' to end in ".el.gz" here.
Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |