From within a lisp file being loaded and run with emacs -l path/to/script/foo.el
can I get the path to file being run?
For example, is there some way to determine what path/to/script
is from within foo.el
?
I am not very experienced with lisp so please be gentle with your solutions.
Emacs 22.3.1 on Windows 7