Skip to content
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

Improve kill-buffer behavior #22

Closed
gcv opened this issue Apr 18, 2014 · 0 comments
Closed

Improve kill-buffer behavior #22

gcv opened this issue Apr 18, 2014 · 0 comments

Comments

@gcv
Copy link
Collaborator

gcv commented Apr 18, 2014

Right now, using kill-buffer can sometimes replace the buffer in the current window with a buffer from a different perspective. It seems to have something to do with which was most recently displayed. I believe this happens because kill-buffer calls replace-buffer-in-windows, which in turn calls switch-to-prev-buffer (which is fairly complicated).

I wonder if there is a way to advise switch-to-prev-buffer to respect perspectives, and not pop up a buffer from a different perspective?

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

No branches or pull requests

1 participant