]> git.eshelyaron.com Git - emacs.git/commitdiff
(debugger-continue): Don't continue If
authorGerd Moellmann <gerd@gnu.org>
Sun, 19 Dec 1999 13:12:28 +0000 (13:12 +0000)
committerGerd Moellmann <gerd@gnu.org>
Sun, 19 Dec 1999 13:12:28 +0000 (13:12 +0000)
debugger-may-continue is nil.

lisp/emacs-lisp/debug.el

index e5e2ac3c22670216a9d318d572bbe795f699605f..f21fdc5bfb59c8f5c41cb8a9bf022339046c4e71 100644 (file)
@@ -280,6 +280,8 @@ Enter another debugger on next entry to eval, apply or funcall."
 (defun debugger-continue ()
   "Continue, evaluating this expression without stopping."
   (interactive)
+  (unless debugger-may-continue
+    (error "Cannot continue"))
   (message "Continuing.")
   (exit-recursive-edit))