changeset 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 3b90e6a741f1
children 6fa3cd9b176d
files lisp/files.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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.