[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to reference the current *.el file in elisp
From: |
Xah Lee |
Subject: |
Re: how to reference the current *.el file in elisp |
Date: |
Wed, 24 Jun 2009 22:49:04 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Jun 24, 9:20 pm, Harry Putnam <rea...@newsguy.com> wrote:
> How does elisp reference the current *.el file?... I mean like in the
> way that the variable $0 carries the the value that is the full name
> of the script its in.
you can use this:
(or load-file-name buffer-file-name)
if you want the full path, call file-name-directory on the result.
Xah
∑ http://xahlee.org/
☄
- Re: how to reference the current *.el file in elisp, (continued)
- Message not available
- Re: how to reference the current *.el file in elisp, Barry Margolin, 2009/06/25
- Re: how to reference the current *.el file in elisp, jidanni, 2009/06/28
- Re: how to reference the current *.el file in elisp, Barry Margolin, 2009/06/29
- Re: how to reference the current *.el file in elisp, jidanni, 2009/06/30
- Re: how to reference the current *.el file in elisp, Barry Margolin, 2009/06/30
Re: how to reference the current *.el file in elisp,
Xah Lee <=