summaryrefslogtreecommitdiff
path: root/lisp/net/tramp-cmds.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2011-07-13 21:40:30 -0400
committerChong Yidong <cyd@stupidchicken.com>2011-07-13 21:40:30 -0400
commit8bdfa0649baea761588c1c9a741570689cecc66c (patch)
treee5d3b9239c1edca1a4a208099a6cb490395a2b02 /lisp/net/tramp-cmds.el
parent5eba16a37cacff2065186df8cb6153ccaebae298 (diff)
downloademacs-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/net/tramp-cmds.el')
-rw-r--r--lisp/net/tramp-cmds.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/tramp-cmds.el b/lisp/net/tramp-cmds.el
index f20040e8a9a..fcf523a7068 100644
--- a/lisp/net/tramp-cmds.el
+++ b/lisp/net/tramp-cmds.el
@@ -308,7 +308,7 @@ buffer in your bug report.
;; There is at least one Tramp buffer.
(when buffer-list
- (tramp-compat-pop-to-buffer-same-window (list-buffers-noselect nil))
+ (switch-to-buffer (list-buffers-noselect nil))
(delete-other-windows)
(setq buffer-read-only nil)
(goto-char (point-min))
@@ -343,7 +343,7 @@ the debug buffer(s).")
;; OK, let's send. First we delete the buffer list.
(progn
(kill-buffer nil)
- (tramp-compat-pop-to-buffer-same-window curbuf)
+ (switch-to-buffer curbuf)
(goto-char (point-max))
(insert "\n\
This is a special notion of the `gnus/message' package. If you