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

[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") 




reply via email to

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