瀏覽代碼

edit-server.el: Select the buffer when popping up a new frame.

Nelson Elhage 14 年之前
父節點
當前提交
61c69fc662
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      edit-server.el

+ 1 - 0
edit-server.el

@@ -298,6 +298,7 @@ If `edit-server-verbose' is non-nil, then STRING is also echoed to the message l
 	(if (not edit-server-new-frame-mode-line)
             (setq mode-line-format nil))
 	(raise-frame new-frame)
+        (set-window-buffer (frame-selected-window new-frame) buffer)
 	new-frame)
     (pop-to-buffer buffer)
     nil))