Commit a7ce6c7f authored by Andreas Schwab's avatar Andreas Schwab
Browse files

(server-switch-buffer): Also consider clients in the

selected frame.
parent 95dbaaea
2008-04-20 Andreas Schwab <schwab@suse.de>
* server.el (server-switch-buffer): Also consider clients in the
selected frame.
2008-04-19 Nick Roberts <nickrob@snap.net.nz>
* progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint): Select
......
......@@ -1220,8 +1220,10 @@ done that."
(let ((rest server-clients))
(while (and rest (not next-buffer))
(let ((proc (car rest)))
;; Only look at frameless clients.
(when (not (process-get proc 'frame))
;; Only look at frameless clients, or those in the selected
;; frame.
(when (or (not (process-get proc 'frame))
(eq (process-get proc 'frame) (selected-frame)))
(setq next-buffer (car (process-get proc 'buffers))))
(setq rest (cdr rest)))))
(and next-buffer (server-switch-buffer next-buffer killed-one))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment