We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ff04a8 + a814cd8 commit c8280aeCopy full SHA for c8280ae
rust-mode.el
@@ -1609,7 +1609,7 @@ See `compilation-error-regexp-alist' for help on their format.")
1609
the compilation window until the top of the error is visible."
1610
(save-selected-window
1611
(when (eq major-mode 'rust-mode)
1612
- (select-window (get-buffer-window next-error-last-buffer))
+ (select-window (get-buffer-window next-error-last-buffer 'visible))
1613
(when (save-excursion
1614
(beginning-of-line)
1615
(looking-at " *-->"))
0 commit comments