[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: |
Sun, 01 May 2016 18:39:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> 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?
Nobody seemed to object, so I've now implemented it. It was more
twiddly than I assumed.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#5661: 23.1.92; `find-library-name' should find a loaded library,
Lars Ingebrigtsen <=