summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/debug.el
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2012-09-20 15:35:13 +0200
committerMartin Rudalics <rudalics@gmx.at>2012-09-20 15:35:13 +0200
commit96e8d4114dc9caa3ad6c03aca2129491a84b87db (patch)
tree60ffc2eff20d1a558d3814876c7dd2a6d70333b9 /lisp/emacs-lisp/debug.el
parent9b154e20db90fed759d85be7b7368386da251478 (diff)
downloademacs-96e8d4114dc9caa3ad6c03aca2129491a84b87db.tar.gz
In debug restore assignment to debugger-old-buffer.
* emacs-lisp/debug.el (debug): Restore assignment to debugger-old-buffer removed on 2012-09-08.
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
-rw-r--r--lisp/emacs-lisp/debug.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el
index e002dbabe49..6fd52d67b90 100644
--- a/lisp/emacs-lisp/debug.el
+++ b/lisp/emacs-lisp/debug.el
@@ -166,6 +166,7 @@ first will be printed into the backtrace buffer."
(with-current-buffer (get-buffer "*Backtrace*")
(list major-mode (buffer-string)))))
(debugger-buffer (get-buffer-create "*Backtrace*"))
+ (debugger-old-buffer (current-buffer))
(debugger-window nil)
(debugger-step-after-exit nil)
(debugger-will-be-back nil)