Commit 61025111 authored by Michael Heerdegen's avatar Michael Heerdegen Committed by Stefan Monnier
Browse files

* lisp/emacs-lisp/debug.el (debug): Fix hard-coded frame counts.

Virtually backported from trunk.

Fixes: debbugs:10025
parent bf741d33
2012-12-07 Michael Heerdegen <>
* emacs-lisp/debug.el (debug): Fix hard-coded frame counts (bug#10025).
Virtually backported from trunk.
2012-12-07 Juanma Barranquero <>
* vc/vc-hooks.el (vc-state): Doc fix.
......@@ -220,10 +220,10 @@ first will be printed into the backtrace buffer."
(when (eq (car debugger-args) 'debug)
;; Skip the frames for backtrace-debug, byte-code,
;; and implement-debug-on-entry.
(backtrace-debug 4 t)
(backtrace-debug 3 t)
;; Place an extra debug-on-exit for macro's.
(when (eq 'lambda (car-safe (cadr (backtrace-frame 4))))
(backtrace-debug 5 t)))
(when (eq 'lambda (car-safe (cadr (backtrace-frame 3))))
(backtrace-debug 4 t)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment