emacs-devel
[Top][All Lists]
Advanced

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

Re: relative load-file


From: Stefan Monnier
Subject: Re: relative load-file
Date: Wed, 11 Nov 2009 15:17:57 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> This is loading relative to the directory I started at, /tmp/proj/subdir,
> not relative to the directory that of the file that issued the load,
> /tmp/proj/test1.el.

You can do

 (load (expand-file-name <relativename> (file-name-directory load-file-name)))

But until now we haven't needed to use such a scheme.


        Stefan




reply via email to

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