Prompts in an interactive specification can incorporate the values of
the preceding arguments. Emacs replaces `%'-sequences (as used
with the format
function) in the prompt with the interactive
arguments that have been read so far. For example, a command with this
interactive specification
(interactive "sReplace: \nsReplace %s with: ")
prompts for the first argument with `Replace: ', and then prompts
for the second argument with `Replace foo with: ', where
foo is the string read as the first argument.