I want to write a command which uses a prefix argument and reads some strings.
I know both parts individually:
(defun xtest(arg) (interactive "P") ...
reads the prefix arg.
(defun xtest(t1 t2) (interactive "stEins: \nstZwei: ") (message "%s %s %s" arg t1 t2))```
reads two strings. But when I put it together to use both:
(defun xtest(arg t1 t2) (interactive "PstEins: \nstZwei: ") ...
then I get on execution of the command the error "funcall-interactively: Wrong number of arguments".
How do I set up the function definition correctly?