[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30281: list-matching-lines-jump-to-current-line inserts duplicate li
From: |
Juri Linkov |
Subject: |
bug#30281: list-matching-lines-jump-to-current-line inserts duplicate line |
Date: |
Mon, 29 Jan 2018 23:44:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
> 0. emacs -Q
> 1. Eval: (setq list-matching-lines-jump-to-current-line t)
> 2. M-<
> 3. M-s o text RET
>
> Two identical lines are displayed in *Occur*.
>
> As a possible solution, when the current line contains matches
> I propose to use add-text-properties to add the face from
> list-matching-lines-current-line-face over the matched current line.
Sorry, I meant add-face-text-property to add background from
list-matching-lines-current-line-face, while still keeping
highlighting of match faces over matches on the current line
in *Occur*.