Ver Fonte

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

Nelson Elhage há 14 anos atrás
pai
commit
61c69fc662
1 ficheiros alterados com 1 adições e 0 exclusões
  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))