Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
61025111
Commit
61025111
authored
Dec 06, 2012
by
Michael Heerdegen
Committed by
Stefan Monnier
Dec 06, 2012
Browse files
* lisp/emacs-lisp/debug.el (debug): Fix hard-coded frame counts.
Virtually backported from trunk. Fixes: debbugs:10025
parent
bf741d33
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/emacs-lisp/debug.el
lisp/emacs-lisp/debug.el
+3
-3
No files found.
lisp/ChangeLog
View file @
61025111
2012-12-07 Michael Heerdegen <michael_heerdegen@web.de>
* emacs-lisp/debug.el (debug): Fix hard-coded frame counts (bug#10025).
Virtually backported from trunk.
2012-12-07 Juanma Barranquero <lekktu@gmail.com>
* vc/vc-hooks.el (vc-state): Doc fix.
...
...
lisp/emacs-lisp/debug.el
View file @
61025111
...
...
@@ -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
)))
(
pop-to-buffer
debugger-buffer
`
((
display-buffer-reuse-window
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment