mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-07 15:00:34 -08:00
In debug restore current buffer when quitting debugger window (Bug#12502).
* emacs-lisp/debug.el (debug): When quitting the debugger window restore current buffer (Bug#12502).
This commit is contained in:
parent
a3c5c0c580
commit
2e566ecb82
2 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2012-10-03 Martin Rudalics <rudalics@gmx.at>
|
||||
|
||||
* emacs-lisp/debug.el (debug): When quitting the debugger window
|
||||
restore current buffer (Bug#12502).
|
||||
|
||||
2012-10-02 Chong Yidong <cyd@gnu.org>
|
||||
|
||||
* progmodes/hideif.el (hif-lookup, hif-defined): Handle
|
||||
|
|
|
|||
|
|
@ -273,7 +273,9 @@ first will be printed into the backtrace buffer."
|
|||
(setq debugger-previous-window-height
|
||||
(window-total-size debugger-window))
|
||||
;; Unshow debugger-buffer.
|
||||
(quit-restore-window debugger-window debugger-bury-or-kill))
|
||||
(quit-restore-window debugger-window debugger-bury-or-kill)
|
||||
;; Restore current buffer (Bug#12502).
|
||||
(set-buffer debugger-old-buffer))
|
||||
;; Restore previous state of debugger-buffer in case we were
|
||||
;; in a recursive invocation of the debugger, otherwise just
|
||||
;; erase the buffer and put it into fundamental mode.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue