diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2011-09-11 14:30:07 -0400 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2011-09-11 14:30:07 -0400 |
commit | 37ac18a341f604b6ebf27af8effc7ef73e2a28ea (patch) | |
tree | 2d66b3afb31deff84e67950478a56a81101f59fd /lisp/window.el | |
parent | d562d7a44cf4abe2ea23ee6fc2982a1e41bc27fb (diff) | |
download | emacs-37ac18a341f604b6ebf27af8effc7ef73e2a28ea.tar.gz emacs-37ac18a341f604b6ebf27af8effc7ef73e2a28ea.tar.bz2 emacs-37ac18a341f604b6ebf27af8effc7ef73e2a28ea.zip |
Change modes that used same-window-* vars to use switch-to-buffer.
* cmuscheme.el (run-scheme, switch-to-scheme):
* ielm.el (ielm):
* shell.el (shell):
* net/rlogin.el (rlogin):
* net/telnet.el (telnet, rsh):
* progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
* cus-edit.el (customize-group, custom-buffer-create)
(customize-browse, custom-buffer-create-other-window): Use
switch-to-buffer or switch-to-buffer-other-window.
* info.el (info, Info-find-node, Info-revert-find-node, Info-next)
(Info-prev, Info-up, Info-speedbar-goto-node)
(info-display-manual): Use switch-to-buffer.
(Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
* lisp/gnus/message.el (message-pop-to-buffer): Default to switch-to-buffer.
(message-mail-other-window, message-mail-other-frame)
(message-news-other-window, message-news-other-frame): Use
switch-to-buffer-other-frame and switch-to-buffer-other-window instead
of setting buffer display varibles.
* mail/sendmail.el (mail): Use switch-to-buffer.
(mail-recover): Use switch-to-buffer-other-window.
* progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
Use switch-to-buffer.
Diffstat (limited to 'lisp/window.el')
-rw-r--r-- | lisp/window.el | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/window.el b/lisp/window.el index 72cad635ab5..a0e4136c0bd 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -4498,11 +4498,7 @@ BUFFER-OR-NAME and return that buffer." buffer)) (current-buffer))) -(defvar display-buffer-alist - '(("\\`\\*\\(scheme\\|ielm\\|shell\\|\\(unsent \\)?mail\\|\ -inferior-lisp\\|Python\\|Customiz.*\\|info\\|rlogin-.*\\|\ -telnet-.*\\|rsh-.*\\|gud-.*\\)\\*\\(<[0-9]+>\\)?" - . (display-buffer-same-window))) +(defvar display-buffer-alist nil "Alist of conditional actions for `display-buffer'. This is a list of elements (CONDITION . ACTION), where: |