]> git.eshelyaron.com Git - emacs.git/commit
Support list-matching-lines-jump-to-current-line for context lines.
authorJuri Linkov <juri@linkov.net>
Mon, 5 Feb 2018 21:54:27 +0000 (23:54 +0200)
committerJuri Linkov <juri@linkov.net>
Mon, 5 Feb 2018 21:54:27 +0000 (23:54 +0200)
commit8e42b1bd3c8ba1757c150149f0d21eabd9245dcc
tree8df65278af8a37611857fce4c9c402558fcb818b
parenta0c7157a16481b0523ad20cda9115f9435188f73
Support list-matching-lines-jump-to-current-line for context lines.

* lisp/replace.el (occur--orig-line-str): Remove.
(occur): Remove occur--orig-line-str.
(occur-engine): Use add-face-text-property to add the face
list-matching-lines-current-line-face to the current line.
Use previous-single-property-change to find occur--final-pos.
(occur-context-lines): New args orig-line and multi-occur-p.
Find the current line in context lines and add face to it.
(Bug#30281)
lisp/replace.el