Glenn Morris wrote: >> This uses the Emacs executable on the exec path, which might not be the >> correct one. > > Yes; I wondered if (car command-line-args) was a reliable way to find > the actual name of the running Emacs binary?
Turns out I was looking for invocation-directory and invocation-name.