[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Locating file via load-path
From: |
Heime |
Subject: |
Re: Locating file via load-path |
Date: |
Thu, 08 Aug 2024 19:09:58 +0000 |
Sent with Proton Mail secure email.
On Friday, August 9th, 2024 at 6:33 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> > Date: Thu, 08 Aug 2024 16:59:04 +0000
> > From: Heime heimeborgia@protonmail.com
> >
> > Is this the way to see if a file is accessible via load-path ?
> > Or do I need 'load-path or similar ?
> >
> > (if (locate-file "tema.el" load-path)
>
>
> For ELisp files on load-path, it is better to use locate-library.
Would the check for a general file prevodilac.el be this ?
(locate-library "prevodilac")
- Locating file via load-path, Heime, 2024/08/08
- Re: Locating file via load-path, Eli Zaretskii, 2024/08/08
- Re: Locating file via load-path,
Heime <=
- Re: Locating file via load-path, Heime, 2024/08/08
- Re: Locating file via load-path, Heime, 2024/08/08
- RE: [External] : Re: Locating file via load-path, Drew Adams, 2024/08/08
- RE: [External] : Re: Locating file via load-path, Heime, 2024/08/08
- RE: [External] : Re: Locating file via load-path, Drew Adams, 2024/08/08
- RE: [External] : Re: Locating file via load-path, Heime, 2024/08/08
- RE: [External] : Re: Locating file via load-path, Drew Adams, 2024/08/08
- RE: [External] : Re: Locating file via load-path, Heime, 2024/08/08
- Re: [External] : Re: Locating file via load-path, Eli Zaretskii, 2024/08/09
- RE: [External] : Re: Locating file via load-path, Drew Adams, 2024/08/09