Subject: bug#46783: Catch mistaken (query-replace "a" "a")

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 27 Feb 2021 05:15:19 +0100

Robert Pluim <[email-masked]> writes:

> I find the following quite useful:
>
> (require 'char-fold)
> (setq replace-char-fold t)
> C-x 8 RET e1 RET
> (goto-char (point-min)
> M-x query-replace RET a RET a

Right.  So there are at least two use cases for doing
(query-replace "a" "a"), so having `query-replace' query the user here
seems like it would be annoying.

So I'm closing this bug report.

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