|
From: | Harry Putnam |
Subject: | Re: how to reference the current *.el file in elisp |
Date: | Thu, 25 Jun 2009 06:49:44 -0500 |
User-agent: | Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.95 (gnu/linux) |
Barry Margolin <barmar@alum.mit.edu> writes: >> Like this message (wrapped for mail): >> >> (message "hello world -- from >> /cvsb/reader/home/reader/lisp/site-start.el") >> (sit-for 1) >> >> that I use sometimes when tracking down how things are loading. >> >> How can I reference the name in a variable instead of writing it out? > > load-file-name I've tried everything but prayer... but not seeing how to reference that in a message. not: (message "hello"(load-file-name)) not: (message "hello" '(load-file-name)) not (message "Hello" 'load-file-name) not (message "Hello" load-file-name) A few others too ridiculous to print...
[Prev in Thread] | Current Thread | [Next in Thread] |