]> git.eshelyaron.com Git - emacs.git/commit
Fix xref {prev,next}-error target buffer match highlighting extent
authorMattias Engdegård <mattiase@acm.org>
Thu, 19 Aug 2021 21:15:29 +0000 (23:15 +0200)
committerMattias Engdegård <mattiase@acm.org>
Fri, 20 Aug 2021 10:34:34 +0000 (12:34 +0200)
commite1ed0c3af182b313f8f1a8f0d50fcda369aaf71c
treefdbac2f43d64a9a2ced97ab978f777b4111fe019
parentc69b4768d6a8ee57ea5358ae91a33431988b7ba3
Fix xref {prev,next}-error target buffer match highlighting extent

* lisp/progmodes/xref.el (xref--next-error-function):
Bind `xref--current-item` during the call to `xref--show-location` so
that `xref-pulse-momentarily` finds the match extent.
lisp/progmodes/xref.el