Fix how gdb-mi calls display-buffer to avoid switching frames.
authorChong Yidong <cyd@gnu.org>
Thu, 18 Oct 2012 19:46:18 +0000 (03:46 +0800)
committerChong Yidong <cyd@gnu.org>
Thu, 18 Oct 2012 19:46:18 +0000 (03:46 +0800)
commit8c27235eadcdde07da4d037aa523fd9af065f865
tree2b27578db8cbde6e7ed70749d131adf61c6463db
parent1a9327d5cd660040a282ab595509c16fe90f63a2
Fix how gdb-mi calls display-buffer to avoid switching frames.

* lisp/progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
Convert to defcustom.
(gdb-get-source-file): Don't bind pop-up-windows.

* lisp/progmodes/gud.el (gud-display-line): Don't specially re-use
other frames for the gdb-mi case.

Fixes: debbugs:12648
lisp/ChangeLog
lisp/progmodes/gdb-mi.el
lisp/progmodes/gud.el