diff options
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/emacs-lisp/debug.el | 9 |
2 files changed, 12 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7ed5f6af14b..e8986acdd1f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2012-09-18 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization | ||
| 4 | value. | ||
| 5 | (debug): Don't remove debugger window when debugger is expected | ||
| 6 | to be back. | ||
| 7 | |||
| 1 | 2012-09-18 Chong Yidong <cyd@gnu.org> | 8 | 2012-09-18 Chong Yidong <cyd@gnu.org> |
| 2 | 9 | ||
| 3 | * custom.el (defface): Doc fix. | 10 | * custom.el (defface): Doc fix. |
diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el index 774b4d3d600..e002dbabe49 100644 --- a/lisp/emacs-lisp/debug.el +++ b/lisp/emacs-lisp/debug.el | |||
| @@ -75,9 +75,9 @@ window previously showing the debugger buffer. | |||
| 75 | The value used here is passed to `quit-restore-window'." | 75 | The value used here is passed to `quit-restore-window'." |
| 76 | :type '(choice | 76 | :type '(choice |
| 77 | (const :tag "Keep alive" nil) | 77 | (const :tag "Keep alive" nil) |
| 78 | (const :tag "Append" 'append) | 78 | (const :tag "Append" append) |
| 79 | (const :tag "Bury" 'bury) | 79 | (const :tag "Bury" bury) |
| 80 | (const :tag "Kill" 'kill)) | 80 | (const :tag "Kill" kill)) |
| 81 | :group 'debugger | 81 | :group 'debugger |
| 82 | :version "24.2") | 82 | :version "24.2") |
| 83 | 83 | ||
| @@ -265,7 +265,8 @@ first will be printed into the backtrace buffer." | |||
| 265 | ;; Make sure we unbind buffer-read-only in the right buffer. | 265 | ;; Make sure we unbind buffer-read-only in the right buffer. |
| 266 | (save-excursion | 266 | (save-excursion |
| 267 | (recursive-edit)))) | 267 | (recursive-edit)))) |
| 268 | (when (and (window-live-p debugger-window) | 268 | (when (and (not debugger-will-be-back) |
| 269 | (window-live-p debugger-window) | ||
| 269 | (eq (window-buffer debugger-window) debugger-buffer)) | 270 | (eq (window-buffer debugger-window) debugger-buffer)) |
| 270 | ;; Record height of debugger window. | 271 | ;; Record height of debugger window. |
| 271 | (setq debugger-previous-window-height | 272 | (setq debugger-previous-window-height |