Subject: bug#3068: highlight-lines-matching-regexp doesn't work after reverting a buffer

From: Deniz Dogan <[email-masked]>
Date: Tue, 21 Apr 2009 12:54:05 +0200

highlight-lines-matching-regexp doesn't work as it should after having
reverted a buffer.

Reproduction:
1. Open a text file with any relevant contents.
2. M-x highlight-lines-matching-regexp and highlight something in the file.
3. M-x revert-buffer RET yes RET
4. Now the highlighting is gone, which I can accept, however...
5. M-x highlight-lines-matching-regexp RET RET
6. Nothing is highlighted this second time!