Subject: Re: bug#20690: 25.0.50; query-replace: incorrect history when replacing the NUL character.

From: Nicolas Richard <[email-masked]>
Date: Tue, 02 Jun 2015 11:30:13 +0200

Juri Linkov <[email-masked]> writes:
>> +(defun query-replace--split-string (string)
>> +  "Split string STRING at a character with property `separator'"
>> +  (let* ((length (length string))
>> +         (split-pos (text-property-any 0 length 'separator t string)))
>> +    (if (not split-pos)
>> +        string
>            ======
> This used to be (substring-no-properties string)

Indeed, thanks for spotting this. I've corrected it and mentionned this
bug report.

pushed as
bc9d9bc7a8d56303595899cd66db67ef90d3a4cd and
c7695d0adb125a3817f3df015137287e801e457a

Nico.