bug#81492: 30.2; `tags-query-replace' signature doesn't match doc or byte-compiler

Eli Zaretskii <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
> Cc: [email protected]
> Date: Sat, 25 Jul 2026 19:36:01 +0300
> From: Eli Zaretskii <[email protected]>
> 
> tags 81492 notabug
> thanks
> 
> > From: "Drew Adams" <[email protected]>
> > Date: Sat, 25 Jul 2026 09:19:43 -0700
> > 
> > The byte-compiler gives a warning for a call with 4 args - even for
> > non-interactive use:
> > 
> >     'tags-query-replace' called with 4 arguments, but
> >     accepts only 2 or 3
> > 
> > The doc was massaged to advertise only 2 or 3 args (from 27.1).
> > 
> > But the fourth arg is still supported, and there's not even any
> > obsoletion or deprecation.
> > 
> > Why the byte-compiler warning?  Why isn't the fourth arg shown in the
> > doc?
> 
> Because we don't want anyone to use the 4th argument.  That's why we
> use advertised-calling-convention there.
> 
> I see no bug here, only the behavior we intend to have.

No further comments, so I'm now closing this bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.