aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-07-07 05:07:02 +0000
committerRichard M. Stallman1994-07-07 05:07:02 +0000
commit336b7f41606b57bbfe0e7bc1530cd14d44009821 (patch)
treeefe22b9a83400f45d963739423336bfdf1fd5c06
parentfb3b7de5e991e7f9b35298fa29de8288dba4038f (diff)
downloademacs-336b7f41606b57bbfe0e7bc1530cd14d44009821.tar.gz
emacs-336b7f41606b57bbfe0e7bc1530cd14d44009821.zip
(switch-to-buffer-other-frame): Raise the frame.
-rw-r--r--lisp/files.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 2ccfa29d135..ed6bb39cafd 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -443,7 +443,8 @@ unlike `file-truename'."
443 "Switch to buffer BUFFER in another frame." 443 "Switch to buffer BUFFER in another frame."
444 (interactive "BSwitch to buffer in other frame: ") 444 (interactive "BSwitch to buffer in other frame: ")
445 (let ((pop-up-frames t)) 445 (let ((pop-up-frames t))
446 (pop-to-buffer buffer t))) 446 (pop-to-buffer buffer t)
447 (raise-frame (window-frame (selected-window)))))
447 448
448(defun find-file (filename) 449(defun find-file (filename)
449 "Edit file FILENAME. 450 "Edit file FILENAME.