diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-07-05 11:31:22 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2011-07-05 11:31:22 -0400 |
commit | 2dcdbdd97db0f414a2f11421e9d8001ea6178517 (patch) | |
tree | be3264dba0659172179eaf2b03a163e4555c9982 /lisp/arc-mode.el | |
parent | 73fed7aeda408ab0e9d67ca3c44a4c7711e5b490 (diff) | |
download | emacs-2dcdbdd97db0f414a2f11421e9d8001ea6178517.tar.gz |
Fix some uses of switch-to-buffer.
* lisp/progmodes/compile.el (compilation-goto-locus):
* lisp/net/tramp-cmds.el (tramp-append-tramp-buffers):
* lisp/bs.el (bs-cycle-next, bs-cycle-previous):
* lisp/bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
* lisp/bindings.el (mode-line-other-buffer):
* lisp/autoinsert.el (auto-insert):
* lisp/arc-mode.el (archive-extract):
* lisp/abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
Diffstat (limited to 'lisp/arc-mode.el')
-rw-r--r-- | lisp/arc-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/arc-mode.el b/lisp/arc-mode.el index e0a587c7607..70f43aebaff 100644 --- a/lisp/arc-mode.el +++ b/lisp/arc-mode.el @@ -1083,7 +1083,7 @@ using `make-temp-file', and the generated name is returned." (view-buffer buffer (and just-created 'kill-buffer-if-not-modified))) ((eq other-window-p 'display) (display-buffer buffer)) (other-window-p (switch-to-buffer-other-window buffer)) - (t (switch-to-buffer buffer)))))) + (t (pop-to-buffer-same-window buffer)))))) (defun archive-*-extract (archive name command) (let* ((default-directory (file-name-as-directory archive-tmpdir)) |