Fix query-replace-regexp incomplete highlighting (Bug#6808).
commite54a1075033073f835596ab666eeed099028beb8
authorJohan Bockgård <bojohan@gnu.org>
Sun, 8 Aug 2010 20:55:52 +0000 (8 16:55 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 8 Aug 2010 20:55:52 +0000 (8 16:55 -0400)
tree34f6ce1c647bf19da012fa4effb309cf8ee34fe4
parentf21a9669a44e1358e1f3164e4e1edd4e7000714e
Fix query-replace-regexp incomplete highlighting (Bug#6808).

* replace.el (replace-highlight): Bind isearch-forward and
isearch-error, ensuring that highlighting is updated if the user
switches the search direction (Bug#6808).

* isearch.el (isearch-lazy-highlight-forward): New var.
(isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
(isearch-lazy-highlight-update): Use it.
lisp/ChangeLog
lisp/isearch.el
lisp/replace.el