Recenter after jumping

This commit is contained in:
Benson Chu 2026-04-30 14:34:28 -05:00
parent 439d990f39
commit d43cbe1715

View file

@ -43,7 +43,8 @@
`(display-buffer-use-some-window
(inhibit-same-window . t)
(some-window . ,(my/compile-locus-some-window (current-buffer))))))
(apply orig args))))
(apply orig args)
(recenter nil t))))
(advice-add #'compilation-goto-locus
:around