1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

I edebug-pop-to-buffer select window after setting its buffer (Bug#10805).

* emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
after setting its buffer (Bug#10805).
This commit is contained in:
Martin Rudalics 2012-10-04 14:56:14 +02:00
parent b6c9d18ddf
commit 6bab5d8b31
2 changed files with 7 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2012-10-04 Martin Rudalics <rudalics@gmx.at>
* emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
after setting its buffer (Bug#10805).
2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
Fix cornercase for string syntax.

View file

@ -383,12 +383,9 @@ Return the result of the last expression in BODY."
;; All windows are dedicated or show `edebug-trace-buffer', split
;; selected one.
(t (split-window))))
(select-window window)
(set-window-buffer window buffer)
(set-window-hscroll window 0);; should this be??
;; Selecting the window does not set the buffer until command loop.
;;(set-buffer buffer)
)
(select-window window)
(set-window-hscroll window 0)) ;; should this be??
(defun edebug-get-displayed-buffer-points ()
;; Return a list of buffer point pairs, for all displayed buffers.