-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
How to disable feature which split window into 2 when run M-x shell #6820
Comments
seems the build-in command "shell" changed from emacs version 24 (pop to same window) to 25 (pop to seprated window), anything I can do on this? |
The command Because (push (cons "\\*shell\\*" display-buffer--same-window-action) display-buffer-alist) For more info, see the documentation for |
It works, thanks! 👍 |
seems it get bad again, while the config "(push (cons ...))" keep as is in .spacemacs/init.el |
@liuchong hmm, the behavior shouldn't change unless you changed your config or a package that you use has changed it behavior. You can look at the source of |
Another possible way: on my computer |
When I type M-x shell, the window will be splited into 2 windows, but I want it keep one window, as I'm usually use a small size window, if it be splited the windows will too small, so I must type C-x 1 to change it back.
Any one knows that how could I write the configuration to disable this splitting? thanks a lot!
The text was updated successfully, but these errors were encountered: