I've put a custom definition of command-line-1 in my early-init.el which works for for calling emacs but not for calling an emacsclient. How can I make it work in the latter case?
1 Answer
command-line-1 is entirely irrelevant to emacsclient.
If you want to modify emacsclient you need to edit and recompile lib-src/emacsclient.c.