diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2011-07-13 21:40:30 -0400 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2011-07-13 21:40:30 -0400 |
commit | 8bdfa0649baea761588c1c9a741570689cecc66c (patch) | |
tree | e5d3b9239c1edca1a4a208099a6cb490395a2b02 /lisp/bindings.el | |
parent | 5eba16a37cacff2065186df8cb6153ccaebae298 (diff) | |
download | emacs-8bdfa0649baea761588c1c9a741570689cecc66c.tar.gz emacs-8bdfa0649baea761588c1c9a741570689cecc66c.tar.bz2 emacs-8bdfa0649baea761588c1c9a741570689cecc66c.zip |
Adapt 2011-07-05 switch-to-buffer changes to new switch-to-buffer
* lisp/bindings.el (mode-line-other-buffer):
* lisp/bookmark.el (bookmark-bmenu-2-window):
* lisp/bs.el (bs-cycle-next, bs-cycle-previous):
* lisp/net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
switch-to-buffer.
* lisp/net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
Deleted.
Diffstat (limited to 'lisp/bindings.el')
-rw-r--r-- | lisp/bindings.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el index 57601637ed6..3d7135c16de 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -471,8 +471,7 @@ Like `bury-buffer', but temporarily select EVENT's window." (defun mode-line-other-buffer () "\ Switch to the most recently selected buffer other than the current one." (interactive) - (with-no-warnings ; We really do want to call `switch-to-buffer' here. - (switch-to-buffer (other-buffer)))) + (switch-to-buffer (other-buffer) nil t)) (defun mode-line-next-buffer (event) "Like `next-buffer', but temporarily select EVENT's window." |