From 094e092801ad10b0e5904ade2983c554b890181e Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Sun, 19 Dec 1999 13:12:28 +0000 Subject: [PATCH] (debugger-continue): Don't continue If debugger-may-continue is nil. --- lisp/emacs-lisp/debug.el | 2 ++ 1 file changed, 2 insertions(+) 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)) -- 2.39.5