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

don't call switch-to-buffer #2642

Closed
wants to merge 1 commit into from

Conversation

malb
Copy link
Contributor

@malb malb commented Feb 29, 2024

I'm basing this off:

Now Emacs treats manual buffer switching the same as programmatic switching. However, it also guards against (some) misbehaving commands you may encounter: those that call out to switch-to-buffer programmatically. That is “against the rules”, as switch-to-buffer is a user-facing command.

https://www.masteringemacs.org/article/demystifying-emacs-window-manager

@malb malb closed this Mar 3, 2024
@malb malb deleted the display-buffer-not-switch-to-buffer branch March 17, 2024 10:51
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.

None yet

1 participant