Variable: invocation-name
invocation-name is a variable defined in emacs.c.
Value
"emacs"
Documentation
The program name that was used to run Emacs.
Any directory names are omitted.
Probably introduced at or before Emacs version 19.23.
Source Code
// Defined in /usr/src/emacs/src/emacs.c
DEFVAR_LISP ("invocation-name", Vinvocation_name,
doc: /* The program name that was used to run Emacs.
Any directory names are omitted. */);