Subject: bug#43716: 28.0.50; Error with emacsclient <file>:

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 01 Oct 2020 05:30:34 +0200

Tassilo Horn <[email-masked]> writes:

> I guess with-editor.el needs to discriminate by emacs version or use a
> &rest argument in the advice and checking the individual 3 (emacs < 28)
> or 4 (emacs 28) arguments separately.

(help-function-arglist 'server-switch-buffer)

should help determining what version is in use.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no