]> git.eshelyaron.com Git - emacs.git/commitdiff
(switch-to-buffer-other-frame): Raise the frame.
authorRichard M. Stallman <rms@gnu.org>
Thu, 7 Jul 1994 05:07:02 +0000 (05:07 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 7 Jul 1994 05:07:02 +0000 (05:07 +0000)
lisp/files.el

index 2ccfa29d1355f301f12e48f851cf6f5224960e9c..ed6bb39cafde4fef3ebce8830c7e5d2ef713dd2a 100644 (file)
@@ -443,7 +443,8 @@ unlike `file-truename'."
   "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.