]> git.eshelyaron.com Git - emacs.git/commit
Show current line highlighted in *Occur* buffer
authorTino Calancha <tino.calancha@gmail.com>
Thu, 2 Feb 2017 10:13:27 +0000 (19:13 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Thu, 2 Feb 2017 10:13:27 +0000 (19:13 +0900)
commite280b94dcd6ed42439718ddf9dd704169f6bb536
tree2d1fc5428a6748c22bc1aed0ddde5309ec06cdc5
parent8e871aef10455eefc34790a9ec011c6fec5e93fe
Show current line highlighted in *Occur* buffer

* lisp/replace.el (list-matching-lines-current-line-face)
(list-matching-lines-jump-to-current-line): New user options.
(occur--orig-line, occur--orig-line-str): New variables.
(occur, occur-engine): Use them.
(occur--final-pos): New variable.
(occur-1): Use it.
(occur-engine): Idem.
Show the current line with 'list-matching-lines-current-line-face'.
Set point on the first matching line after the current one.
* etc/NEWS: Add entry for the new option.
doc/emacs/search.texi
etc/NEWS
lisp/replace.el