diff lisp/files.el @ 8165:02ee07034f11

(switch-to-buffer-other-frame): Raise the frame.
author Richard M. Stallman <rms@gnu.org>
date Thu, 07 Jul 1994 05:07:02 +0000
parents 1013d56a1133
children 750282040c17
line wrap: on
line diff
--- a/lisp/files.el	Thu Jul 07 03:03:34 1994 +0000
+++ b/lisp/files.el	Thu Jul 07 05:07:02 1994 +0000
@@ -443,7 +443,8 @@
   "Switch to buffer BUFFER in another frame."
   (interactive "BSwitch to buffer in other frame: ")
   (let ((pop-up-frames t))
-    (pop-to-buffer buffer t)))
+    (pop-to-buffer buffer t)
+    (raise-frame (window-frame (selected-window)))))
 
 (defun find-file (filename)
   "Edit file FILENAME.