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

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

bug#5661: 23.1.92; `find-library-name' should find a loaded library


From: Lars Ingebrigtsen
Subject: bug#5661: 23.1.92; `find-library-name' should find a loaded library
Date: Wed, 27 Apr 2016 23:37:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Drew Adams <drew.adams@oracle.com> writes:

>> > The doc string says nothing about searching only the `load-path'. It's
>> > reasonable to think that this should be able to find the library either
>> by
>> > checking loaded libraries or by searching the `load-path'.
>> 
>> That would be nice.  But does Emacs have a record of all files it has
>> done `load-file' on somewhere?
>
> Sorry, I'm reading these really quickly.  But does `load-history'
> apply here?

Indeed it seems like that should do the trick.  Does anybody object to
me extending `find-library-name' to check with `load-history' after it's
gone through the paths it's currently searching?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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