|
From: | Nicolas Richard |
Subject: | bug#20690: 25.0.50; query-replace: incorrect history when replacing the NUL character. |
Date: | Tue, 02 Jun 2015 11:30:13 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Juri Linkov <juri@linkov.net> 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.
[Prev in Thread] | Current Thread | [Next in Thread] |