mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-06-14 04:11:18 +00:00
Recenter after jumping
This commit is contained in:
parent
439d990f39
commit
d43cbe1715
1 changed files with 2 additions and 1 deletions
|
|
@ -43,7 +43,8 @@
|
||||||
`(display-buffer-use-some-window
|
`(display-buffer-use-some-window
|
||||||
(inhibit-same-window . t)
|
(inhibit-same-window . t)
|
||||||
(some-window . ,(my/compile-locus-some-window (current-buffer))))))
|
(some-window . ,(my/compile-locus-some-window (current-buffer))))))
|
||||||
(apply orig args))))
|
(apply orig args)
|
||||||
|
(recenter nil t))))
|
||||||
|
|
||||||
(advice-add #'compilation-goto-locus
|
(advice-add #'compilation-goto-locus
|
||||||
:around
|
:around
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue