Function: invocation-name
invocation-name is a function defined in emacs.c.
This function is obsolete since 27.1; use the variable of the same name.
Signature
(invocation-name)
Documentation
Return 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
{
return Fcopy_sequence (Vinvocation_name);
}