Commit f99cf679 authored by Nick Roberts's avatar Nick Roberts
Browse files

(gdb-many-windows): Leave window configuration

intact if there is no gud-comint-buffer.
parent c8010cbb
......@@ -2398,9 +2398,11 @@ of the inferior. Non-nil means display the layout shown for
(if (null arg)
(not gdb-many-windows)
(> (prefix-numeric-value arg) 0)))
(if (and gud-comint-buffer
(buffer-name gud-comint-buffer))
(condition-case nil
(error nil)))
(error nil))))
(defun gdb-restore-windows ()
"Restore the basic arrangement of windows used by gdba.
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