aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2013-08-08 19:14:20 -0400
committerStefan Monnier2013-08-08 19:14:20 -0400
commit0ca3f70e4f83a1cbfaa4356865f1eec180419786 (patch)
treecc88e3cb69a578a93de5b4c65a299a2b21817d64
parent74c5d24c74e3167db6e3ee01831584c99905bb70 (diff)
downloademacs-0ca3f70e4f83a1cbfaa4356865f1eec180419786.tar.gz
emacs-0ca3f70e4f83a1cbfaa4356865f1eec180419786.zip
* 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
-rw-r--r--lisp/ChangeLog13
-rw-r--r--lisp/emacs-lisp/edebug.el6
2 files changed, 11 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 294c6af6595..8443ecb2855 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4 break-condition in the context of the debugged code (bug#12685).
5
12013-08-08 Christopher Schmidt <christopher@ch.ristopher.com> 62013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2 7
3 * comint.el: 8 * comint.el:
@@ -6,8 +11,8 @@
6 (comint-last-prompt): New variable. 11 (comint-last-prompt): New variable.
7 (comint-last-prompt-overlay): Remove. Superseded by 12 (comint-last-prompt-overlay): Remove. Superseded by
8 comint-last-prompt. 13 comint-last-prompt.
9 (comint-snapshot-last-prompt, comint-output-filter): Use 14 (comint-snapshot-last-prompt, comint-output-filter):
10 comint-last-prompt. 15 Use comint-last-prompt.
11 16
122013-08-08 Juanma Barranquero <lekktu@gmail.com> 172013-08-08 Juanma Barranquero <lekktu@gmail.com>
13 18
@@ -164,8 +169,8 @@
164 169
1652013-08-06 Dmitry Antipov <dmantipov@yandex.ru> 1702013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
166 171
167 * files.el (cache-long-line-scans): Make 172 * files.el (cache-long-line-scans):
168 obsolete alias to `cache-long-scans'. 173 Make obsolete alias to `cache-long-scans'.
169 174
1702013-08-06 Juanma Barranquero <lekktu@gmail.com> 1752013-08-06 Juanma Barranquero <lekktu@gmail.com>
171 176
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 `::::} '."
2314 (if edebug-global-break-condition 2314 (if edebug-global-break-condition
2315 (condition-case nil 2315 (condition-case nil
2316 (setq edebug-global-break-result 2316 (setq edebug-global-break-result
2317 ;; FIXME: lexbind. 2317 (edebug-eval edebug-global-break-condition))
2318 (eval edebug-global-break-condition))
2319 (error nil)))) 2318 (error nil))))
2320 (edebug-break)) 2319 (edebug-break))
2321 2320
@@ -2326,8 +2325,7 @@ MSG is printed after `::::} '."
2326 (and edebug-break-data 2325 (and edebug-break-data
2327 (or (not edebug-break-condition) 2326 (or (not edebug-break-condition)
2328 (setq edebug-break-result 2327 (setq edebug-break-result
2329 ;; FIXME: lexbind. 2328 (edebug-eval edebug-break-condition))))))
2330 (eval edebug-break-condition))))))
2331 (if (and edebug-break 2329 (if (and edebug-break
2332 (nth 2 edebug-break-data)) ; is it temporary? 2330 (nth 2 edebug-break-data)) ; is it temporary?
2333 ;; Delete the breakpoint. 2331 ;; Delete the breakpoint.