Avoid confusion in query-replace history when replacing NUL chars
commitbc9d9bc7a8d56303595899cd66db67ef90d3a4cd
authorNicolas Richard <youngfrog@members.fsf.org>
Fri, 29 May 2015 08:32:05 +0000 (29 10:32 +0200)
committerNicolas Richard <youngfrog@members.fsf.org>
Tue, 2 Jun 2015 08:51:27 +0000 (2 10:51 +0200)
tree6dc8abefa17c3e99f23a208179b53700b4a6200f
parent59db4308b546cbe32d3bfe6e23dbc1899d511975
Avoid confusion in query-replace history when replacing NUL chars

* lisp/replace.el (query-replace--split-string): New function.
(query-replace-read-from): Rely on the 'separator' property
instead of searching for the NUL character (Bug#20690).
lisp/replace.el