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

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

Re: readable-not-found


From: Emanuel Berg
Subject: Re: readable-not-found
Date: Wed, 09 Mar 2022 13:20:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Andreas Röhler wrote:

> Have the following load-test.el in some ~/testdir/ :
>
> (if (file-readable-p "../test.el")
>   (load "../test.el" nil t))

(defun load-if-exists (file)
  (if (file-exists-p file)
      (load-file file)
    (message "The file %s does not exist." file) ))

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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