Variable: emacsclient-program-name

emacsclient-program-name is a variable defined in callproc.c.

Value

"emacsclient"

Documentation

Name of the emacsclient program distributed with Emacs.

Use this instead of calling emacsclient directly, as emacsclient may have been renamed to comply with executable naming restrictions on the system.

View in manual

Probably introduced at or before Emacs version 30.1.

Source Code

// Defined in /usr/src/emacs/src/callproc.c
  DEFVAR_LISP ("emacsclient-program-name", Vemacsclient_program_name,
    doc: /* Name of the `emacsclient' program distributed with Emacs.
Use this instead of calling `emacsclient' directly, as `emacsclient'
may have been renamed to comply with executable naming restrictions on
the system.  */);