]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 8 Aug 2013 23:14:20 +0000 (19:14 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 8 Aug 2013 23:14:20 +0000 (19:14 -0400)
break-condition in the context of the debugged code.

Fixes: debbugs:12685
lisp/ChangeLog
lisp/emacs-lisp/edebug.el

index 294c6af6595ac73da214b4f8b8714ddb0b6c0dc6..8443ecb2855f03f12aa7b5722634ecacd3662c1e 100644 (file)
@@ -1,3 +1,8 @@
+2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * 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  <christopher@ch.ristopher.com>
 
        * 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  <lekktu@gmail.com>
 
 
 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
 
-       * 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  <lekktu@gmail.com>
 
index 928d49f85ba40e60e4267a9c40a4411257189451..ec343eab631372be77ab8d1e639566f2041b0a17 100644 (file)
@@ -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.