Function: invocation-name

Return the program name that was used to run Emacs.
Any directory names are omitted.
(fn)

Variable: invocation-name

The program name that was used to run Emacs.
Any directory names are omitted.