From: Stefan Monnier Date: Thu, 8 Aug 2013 23:14:20 +0000 (-0400) Subject: * lisp/emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1686^2~358 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0ca3f70e4f83a1cbfaa4356865f1eec180419786;p=emacs.git * lisp/emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the break-condition in the context of the debugged code. Fixes: debbugs:12685 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 294c6af6595..8443ecb2855 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-08-08 Stefan Monnier + + * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the + break-condition in the context of the debugged code (bug#12685). + 2013-08-08 Christopher Schmidt * comint.el: @@ -6,8 +11,8 @@ (comint-last-prompt): New variable. (comint-last-prompt-overlay): Remove. Superseded by comint-last-prompt. - (comint-snapshot-last-prompt, comint-output-filter): Use - comint-last-prompt. + (comint-snapshot-last-prompt, comint-output-filter): + Use comint-last-prompt. 2013-08-08 Juanma Barranquero @@ -164,8 +169,8 @@ 2013-08-06 Dmitry Antipov - * files.el (cache-long-line-scans): Make - obsolete alias to `cache-long-scans'. + * files.el (cache-long-line-scans): + Make obsolete alias to `cache-long-scans'. 2013-08-06 Juanma Barranquero diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 928d49f85ba..ec343eab631 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el @@ -2314,8 +2314,7 @@ MSG is printed after `::::} '." (if edebug-global-break-condition (condition-case nil (setq edebug-global-break-result - ;; FIXME: lexbind. - (eval edebug-global-break-condition)) + (edebug-eval edebug-global-break-condition)) (error nil)))) (edebug-break)) @@ -2326,8 +2325,7 @@ MSG is printed after `::::} '." (and edebug-break-data (or (not edebug-break-condition) (setq edebug-break-result - ;; FIXME: lexbind. - (eval edebug-break-condition)))))) + (edebug-eval edebug-break-condition)))))) (if (and edebug-break (nth 2 edebug-break-data)) ; is it temporary? ;; Delete the breakpoint.