diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-07-26 03:38:18 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-07-26 03:38:18 -0400 |
commit | 56ea72917a7a700e29cf6c115fd1cd75ad782e9e (patch) | |
tree | 1a9220717c6333b376d45ebc044ad8ed71cfda37 /lisp/emacs-lisp/chart.el | |
parent | f6b1502430653fac080f76a08edd2eb690f92146 (diff) | |
download | emacs-56ea72917a7a700e29cf6c115fd1cd75ad782e9e.tar.gz emacs-56ea72917a7a700e29cf6c115fd1cd75ad782e9e.tar.bz2 emacs-56ea72917a7a700e29cf6c115fd1cd75ad782e9e.zip |
Add support for lexical variables to the debugger's `e' command.
* lisp/emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
vars, except for debugger-outer-match-data.
(debugger-frame-number): Move check for "on a function call" from
callers into it. Add `skip-base' argument.
(debugger-frame, debugger-frame-clear): Simplify accordingly.
(debugger-env-macro): Only reset the state stored in non-variables,
i.e. current-buffer and match-data.
(debugger-eval-expression): Rewrite using backtrace-eval.
* lisp/subr.el (internal--called-interactively-p--get-frame): Remove.
(called-interactively-p):
* lisp/emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
`base' arg of backtrace-frame instead.
* src/eval.c (set_specpdl_old_value): New function.
(unbind_to): Minor simplification.
(get_backtrace_frame): New function.
(Fbacktrace_frame): Use it. Add `base' argument.
(backtrace_eval_unrewind, Fbacktrace_eval): New functions.
(syms_of_eval): Export backtrace-eval.
* src/xterm.c (x_focus_changed): Simplify.
Diffstat (limited to 'lisp/emacs-lisp/chart.el')
0 files changed, 0 insertions, 0 deletions