aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/autoinsert.el
diff options
context:
space:
mode:
authorStefan Monnier2011-07-05 11:31:22 -0400
committerStefan Monnier2011-07-05 11:31:22 -0400
commit2dcdbdd97db0f414a2f11421e9d8001ea6178517 (patch)
treebe3264dba0659172179eaf2b03a163e4555c9982 /lisp/autoinsert.el
parent73fed7aeda408ab0e9d67ca3c44a4c7711e5b490 (diff)
downloademacs-2dcdbdd97db0f414a2f11421e9d8001ea6178517.tar.gz
emacs-2dcdbdd97db0f414a2f11421e9d8001ea6178517.zip
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/autoinsert.el')
-rw-r--r--lisp/autoinsert.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/autoinsert.el b/lisp/autoinsert.el
index 5793c3180be..3b849cece22 100644
--- a/lisp/autoinsert.el
+++ b/lisp/autoinsert.el
@@ -360,7 +360,7 @@ Matches the visited file name against the elements of `auto-insert-alist'."
360 (save-window-excursion 360 (save-window-excursion
361 ;; make buffer visible before skeleton or function 361 ;; make buffer visible before skeleton or function
362 ;; which might ask the user for something 362 ;; which might ask the user for something
363 (switch-to-buffer (current-buffer)) 363 (pop-to-buffer-same-window (current-buffer))
364 (if (and (consp action) 364 (if (and (consp action)
365 (not (eq (car action) 'lambda))) 365 (not (eq (car action) 'lambda)))
366 (skeleton-insert action) 366 (skeleton-insert action)