Subject: bug#17467: 24.3; locate-library returning spurious path

From: Glenn Morris <[email-masked]>
Date: Sun, 11 May 2014 13:37:12 -0400

Alex Kosorukoff wrote:

> I found this issue because (locate-library "tramp") was returning
> "/home/alex/.emacs.d/trump" not "../lisp/net/trum.elc".

I assume there are some typos there...

Anyway, sounds like you have your ~/.emacs.d directory in load-path?
You are strongly encouraged not to do that.
Newer Emacs will in fact warn you about it.
Because you can get problems just like this one! :)