]> git.eshelyaron.com Git - emacs.git/commit
Occur-mode multi-line match property gap filling
authorMattias Engdegård <mattiase@acm.org>
Sat, 31 Jul 2021 20:37:03 +0000 (22:37 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sat, 31 Jul 2021 20:46:24 +0000 (22:46 +0200)
commit6413f08887ccb4fa8049f4665bba4f77368f15c6
treecfc55fe07b8e3bbce95eef6248c8b9e8c9be4e66
parentff16bea7f478be80f37c4870e69d43825d4f8cd6
Occur-mode multi-line match property gap filling

When an occur-mode regexp matches across multiple lines, the spacing
prefixes inserted between each did not have the `occur-target`
property which is essential for jumping to the corresponding place in
the target buffer.  This prevented next-error and previous-error
from working.

* lisp/replace.el (occur-engine): Put the `occur-target` property on
the continuation prefix to avoid the gap.
lisp/replace.el