[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: relative load-file
From: |
grischka |
Subject: |
Re: relative load-file |
Date: |
Fri, 13 Nov 2009 06:24:40 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
> [...]
> That is, one wants to load an Emacs Lisp file relative the file
> that issues the load which is often in the same directory or a
> nearby directory.
>
> This would be easy if there were a variable like __FILE__ that Ruby
> provides.
Why would you need __FILE__ if in emacs you can type much more easily
#$
As in
(load (concat (file-name-directory #$) "extra-stuff"))
--- grischka
- Re: relative load-file, (continued)
- Re: relative load-file, Stefan Monnier, 2009/11/17
- Re: relative load-file, Richard Stallman, 2009/11/15
- Re: relative load-file, Rocky Bernstein, 2009/11/15
- Re: relative load-file, Richard Stallman, 2009/11/18
- Re: relative load-file, Rocky Bernstein, 2009/11/18
- Re: relative load-file, Richard Stallman, 2009/11/21
- Re: relative load-file, Rocky Bernstein, 2009/11/21
- Re: relative load-file, Richard Stallman, 2009/11/22
- Re: relative load-file, Rocky Bernstein, 2009/11/23
- Re: relative load-file, Richard Stallman, 2009/11/24
Re: relative load-file,
grischka <=