summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/derived-tests.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2018-02-05 23:54:27 +0200
committerJuri Linkov <juri@linkov.net>2018-02-05 23:54:27 +0200
commit8e42b1bd3c8ba1757c150149f0d21eabd9245dcc (patch)
tree8df65278af8a37611857fce4c9c402558fcb818b /test/lisp/emacs-lisp/derived-tests.el
parenta0c7157a16481b0523ad20cda9115f9435188f73 (diff)
downloademacs-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/derived-tests.el')
0 files changed, 0 insertions, 0 deletions