[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: readable-not-found
From: |
tomas |
Subject: |
Re: readable-not-found |
Date: |
Wed, 9 Mar 2022 12:51:00 +0100 |
On Wed, Mar 09, 2022 at 12:23:45PM +0100, Andreas Röhler wrote:
> Have the following load-test.el in some ~/testdir/ :
>
> (if (file-readable-p "../test.el")
> (load "../test.el" nil t))
>
> (file-readable-p "../test.el") reports t, but evaluating the load-function
> sends:
This is probably because `load' doesn't look in the current
directory, but in the directories listed in `load-path'.
Usually that makes sense (usually, you don't want Emacs to
find different libraries just because you change your current
directory)
> Any suggestions?
What are you trying to achieve?
Cheers
--
t
signature.asc
Description: PGP signature