Mercurial > emacs
changeset 55217:97d0e3a1174f
(gdb-frame-breakpoints-buffer)
(gdb-frame-stack-buffer, gdb-frame-threads-buffer)
(gdb-frame-registers-buffer, gdb-frame-locals-buffer)
(gdb-frame-gdb-buffer, gdb-frame-assembler-buffer): Use
selected-window.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Wed, 28 Apr 2004 18:16:07 +0000 |
parents | 1014ad951130 |
children | 5e391facba6e |
files | lisp/progmodes/gdb-ui.el |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/gdb-ui.el Wed Apr 28 18:15:12 2004 +0000 +++ b/lisp/progmodes/gdb-ui.el Wed Apr 28 18:16:07 2004 +0000 @@ -1152,7 +1152,7 @@ (interactive) (select-frame (make-frame gdb-frame-parameters)) (switch-to-buffer (gdb-get-create-buffer 'gdb-breakpoints-buffer)) - (set-window-dedicated-p (get-buffer-window (current-buffer)) t)) + (set-window-dedicated-p (selected-window) t)) (defvar gdb-breakpoints-mode-map (let ((map (make-sparse-keymap)) @@ -1274,7 +1274,7 @@ (interactive) (select-frame (make-frame gdb-frame-parameters)) (switch-to-buffer (gdb-get-create-buffer 'gdb-stack-buffer)) - (set-window-dedicated-p (get-buffer-window (current-buffer)) t)) + (set-window-dedicated-p (selected-window) t)) (defvar gdb-frames-mode-map (let ((map (make-sparse-keymap))) @@ -1351,7 +1351,7 @@ (interactive) (select-frame (make-frame gdb-frame-parameters)) (switch-to-buffer (gdb-get-create-buffer 'gdb-threads-buffer)) - (set-window-dedicated-p (get-buffer-window (current-buffer)) t)) + (set-window-dedicated-p (selected-window) t)) (defvar gdb-threads-mode-map (let ((map (make-sparse-keymap))) @@ -1433,7 +1433,7 @@ (interactive) (select-frame (make-frame gdb-frame-parameters)) (switch-to-buffer (gdb-get-create-buffer 'gdb-registers-buffer)) - (set-window-dedicated-p (get-buffer-window (current-buffer)) t)) + (set-window-dedicated-p (selected-window) t)) ;; ;; Locals buffer. @@ -1505,7 +1505,7 @@ (interactive) (select-frame (make-frame gdb-frame-parameters)) (switch-to-buffer (gdb-get-create-buffer 'gdb-locals-buffer)) - (set-window-dedicated-p (get-buffer-window (current-buffer)) t)) + (set-window-dedicated-p (selected-window) t)) ;;;; Window management @@ -1604,7 +1604,7 @@ (interactive) (select-frame (make-frame gdb-frame-parameters)) (switch-to-buffer (gdb-get-create-buffer 'gdba)) - (set-window-dedicated-p (get-buffer-window (current-buffer)) t)) + (set-window-dedicated-p (selected-window) t)) (defun gdb-display-gdb-buffer () (interactive) @@ -1935,7 +1935,7 @@ (interactive) (select-frame (make-frame gdb-frame-parameters)) (switch-to-buffer (gdb-get-create-buffer 'gdb-assembler-buffer)) - (set-window-dedicated-p (get-buffer-window (current-buffer)) t)) + (set-window-dedicated-p (selected-window) t)) ;; modified because if gdb-current-address has changed value a new command ;; must be enqueued to update the buffer with the new output