I want to define a action that says open <config file>
within the actual config file itself. However, this config file may be in a different location on different computers. How can I get the current file's filename with a macro?
In this example, I'm looking avoid typing "etude-module-lisp"
or the filename of the file in this particular piece of code:
(on/mode: [::lisp lisp-interaction-mode]
"etude-module-lisp"
::eval-cursor 'eval-last-sexp
::eval-buffer 'eval-buffer)
current-buffer
? (If so, use functionbuffer-file-name
.)load-file-name
, but I'm not sure how that macro is supposed to work.