diff options
author | Juri Linkov <juri@linkov.net> | 2018-02-05 23:54:27 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2018-02-05 23:54:27 +0200 |
commit | 8e42b1bd3c8ba1757c150149f0d21eabd9245dcc (patch) | |
tree | 8df65278af8a37611857fce4c9c402558fcb818b /test/lisp/emacs-lisp | |
parent | a0c7157a16481b0523ad20cda9115f9435188f73 (diff) | |
download | emacs-8e42b1bd3c8ba1757c150149f0d21eabd9245dcc.tar.gz emacs-8e42b1bd3c8ba1757c150149f0d21eabd9245dcc.tar.bz2 emacs-8e42b1bd3c8ba1757c150149f0d21eabd9245dcc.zip |
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)
Diffstat (limited to 'test/lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions