mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(edebug-pop-to-buffer, edebug-display): Remove redundant checks.
This commit is contained in:
parent
011acd1803
commit
1b96c77f46
1 changed files with 2 additions and 2 deletions
|
|
@ -369,7 +369,7 @@ Return the result of the last expression in BODY."
|
|||
;; Otherwise, find a new window, possibly splitting one.
|
||||
(setq window
|
||||
(cond
|
||||
((and (windowp window) (edebug-window-live-p window)
|
||||
((and (edebug-window-live-p window)
|
||||
(eq (window-buffer window) buffer))
|
||||
window)
|
||||
((eq (window-buffer (selected-window)) buffer)
|
||||
|
|
@ -2739,7 +2739,7 @@ MSG is printed after `::::} '."
|
|||
|
||||
;; Unrestore edebug-buffer's window-start, if displayed.
|
||||
(let ((window (car edebug-window-data)))
|
||||
(if (and window (edebug-window-live-p window)
|
||||
(if (and (edebug-window-live-p window)
|
||||
(eq (window-buffer) edebug-buffer))
|
||||
(progn
|
||||
(set-window-start window (cdr edebug-window-data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue