Skip to content

Pass 'visible to get-buffer-window #235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 27, 2017

Conversation

tromey
Copy link
Contributor

@tromey tromey commented Aug 23, 2017

If I have two frames, with the compilation buffer in one frame and
use next-error in the other frame, I get this error:

Wrong type argument: window-live-p, nil

This happens because get-buffer-window returns nil. The fix is to
pass 'visible to get-buffer-window, which will pick any visible frame
from the same terminal.

If I have two frames, with the *compilation* buffer in one frame and
use next-error in the other frame, I get this error:

Wrong type argument: window-live-p, nil

This happens because get-buffer-window returns nil.  The fix is to
pass 'visible to get-buffer-window, which will pick any visible frame
from the same terminal.
@tromey
Copy link
Contributor Author

tromey commented Aug 27, 2017

This one is pretty trivial and I've been using it for a while, so I'm just going to merge it.

@tromey tromey merged commit c8280ae into rust-lang:master Aug 27, 2017
@tromey tromey deleted the get-buffer-window-fixlet branch August 27, 2017 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant