From: Gerd Moellmann Date: Sun, 19 Dec 1999 13:12:28 +0000 (+0000) Subject: (debugger-continue): Don't continue If X-Git-Tag: emacs-pretest-21.0.90~5667 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=094e092801ad10b0e5904ade2983c554b890181e;p=emacs.git (debugger-continue): Don't continue If debugger-may-continue is nil. --- diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el index e5e2ac3c226..f21fdc5bfb5 100644 --- a/lisp/emacs-lisp/debug.el +++ b/lisp/emacs-lisp/debug.el @@ -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))