[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Grep with matching lines syntax highlighted [snippet]
From: |
Drew Adams |
Subject: |
RE: Grep with matching lines syntax highlighted [snippet] |
Date: |
Sat, 9 Dec 2006 20:08:57 -0800 |
I should have added that you can do (add-hook 'compilation-filter-hook
'remove-grep-comments) to _always_ strip the comment lines, if you want to
avoid using `remove-grep-comments' (that is, `;') each time to do that.
`remove-grep-comments' does nothing outside of grep-mode, so this is benign
in other compilation-result buffers. I don't do that, because I sometimes
want to see comments too.