mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-06-14 12:21:20 +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
|
||||
(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
|
||||
|
|
|
|||
Loading…
Reference in a new issue