]> git.eshelyaron.com Git - emacs.git/commit
New user option 'grep-use-headings'
authorAugusto Stoffel <arstoffel@gmail.com>
Wed, 7 Dec 2022 17:44:07 +0000 (18:44 +0100)
committerJuri Linkov <juri@linkov.net>
Mon, 27 Feb 2023 19:14:47 +0000 (21:14 +0200)
commit93f557af0ef85ce301bb0780e26351eb8809e91c
treeebf239aecd0e86cc4384ca40acc8c5bea2e910c7
parentb699c380286151c97ffae65010d733a092d2db14
New user option 'grep-use-headings'

* lisp/progmodes/grep.el (grep-heading-regexp): New user option.
(grep-heading): New face (bug#59888).
(grep--heading-format, grep--heading-state, grep--heading-filter):
Filter function for grep processes and supporting variables.
(grep-use-headings): New user option.
(grep-mode): Use the above, if applicable.
etc/NEWS
lisp/progmodes/grep.el
test/lisp/progmodes/grep-tests.el