Hi. Before this patch it was possible to 'M-s h r' during an isearch to highlight the regexp being sought. This patch adds similar functionality for matching lines with 'M-s h l'. This patch moves the previous 'M-s h r' isearch functionality into a macro, and then calls this macro separately for the regex and line cases.