Variable: list-matching-lines-jump-to-current-line

list-matching-lines-jump-to-current-line is a customizable variable defined in replace.el.gz.

Value

nil

Documentation

If non-nil, M-x list-matching-lines (list-matching-lines) shows the current line highlighted.

The current line for this purpose is the line of the original buffer which was current when M-x list-matching-lines (list-matching-lines) was invoked. Point in the *Occur* buffer will be set right after such line when there are matches after it.

This variable was added, or its default value changed, in Emacs 26.1.

Probably introduced at or before Emacs version 26.1.

Source Code

;; Defined in /usr/src/emacs/lisp/replace.el.gz
(defcustom list-matching-lines-jump-to-current-line nil
  "If non-nil, \\[list-matching-lines] shows the current line highlighted.
The current line for this purpose is the line of the original buffer
which was current when \\[list-matching-lines] was invoked.
Point in the `*Occur*' buffer will be set right after such line when
there are matches after it."
:type 'boolean
:group 'matching
:version "26.1")