diff options
| author | Joakim Verona | 2011-07-15 04:39:29 +0200 |
|---|---|---|
| committer | Joakim Verona | 2011-07-15 04:39:29 +0200 |
| commit | 4f616a2e7ed1db28da98df90266e9751a8ae9ee1 (patch) | |
| tree | 74a9dcbe13e945e712ae04a4a94c2202ca720591 /lisp/autoinsert.el | |
| parent | ff2be00005c3aeda6e11d7ed264ce86f02b60958 (diff) | |
| parent | ec2bc542a4d0127425625e8cb458684bd825675a (diff) | |
| download | emacs-4f616a2e7ed1db28da98df90266e9751a8ae9ee1.tar.gz emacs-4f616a2e7ed1db28da98df90266e9751a8ae9ee1.zip | |
merge from upstream
Diffstat (limited to 'lisp/autoinsert.el')
| -rw-r--r-- | lisp/autoinsert.el | 2 |
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) |