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

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

Re: how to reference the current *.el file in elisp


From: jidanni
Subject: Re: how to reference the current *.el file in elisp
Date: Sun, 28 Jun 2009 08:44:17 +0800

BM> (message "Hello %s" load-file-name)
How do I do things like
# Local Variables:
# mode: Shell-script
# compile-command: (concat "sh " buffer-file-name)
# End:
without being asked about risky variables, or hard wiring buffer-file-name?


reply via email to

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