cut debugger frames from backtraces
authorRobin Templeton <robin@terpri.org>
Tue, 23 Sep 2014 04:44:45 +0000 (00:44 -0400)
committerRobin Templeton <robin@terpri.org>
Mon, 20 Apr 2015 04:29:03 +0000 (00:29 -0400)
commit792b3d23233b65eebe5ceeacc635175372de5fca
tree6e683eba796a9b6a5410ae4509418a850b1524c6
parent5fdac58a86e83e2d4bd272d7dd4959c3ef2100bd
cut debugger frames from backtraces

Thanks to Oleg Sivokon <olegsivokon@gmail.com> for the report.

* lisp/emacs-lisp/debug.el (debug-inner-cut): New variable.
  (debug-1): New function extracted from `debug'.
  (debug): Call `debug-1' in a new prompt, binding `debug-inner-cut'
  to the prompt tag.
  (debugger-setup-buffer): Cut the backtrace with `debug-inner-cut'.
lisp/emacs-lisp/debug.el