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

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

readable-not-found


From: Andreas Röhler
Subject: readable-not-found
Date: Wed, 9 Mar 2022 12:23:45 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

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:

Debugger entered--Lisp error: (file-missing "Cannot open load file" "Datei oder Verzeichnis nicht gefunden" "../test.el")
  load("../test.el" nil t)
  (if (file-readable-p "../test.el") (load "../test.el" nil t))
  eval((if (file-readable-p "../test.el") (load "../test.el" nil t)) nil)
  elisp--eval-last-sexp(nil)
  eval-last-sexp(nil)
  funcall-interactively(eval-last-sexp nil)
  call-interactively(eval-last-sexp nil nil)
  command-execute(eval-last-sexp)


Checked with emacs -Q v26, v28, v29

Any suggestions?

Thanks,

Andreas




reply via email to

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