From f0ee23367c2c24520fc759051d3d7a1248d5c13b Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 4 Jan 1999 11:53:22 +0000 Subject: [PATCH] (debug): Leave recursive minibuffer enabled if it was enabled before. --- lisp/emacs-lisp/debug.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el index fa874f5ae60..0e6e0ef9765 100644 --- a/lisp/emacs-lisp/debug.el +++ b/lisp/emacs-lisp/debug.el @@ -130,7 +130,8 @@ first will be printed into the backtrace buffer." load-read-function ;; If we are inside a minibuffer, allow nesting ;; so that we don't get an error from the `e' command. - (enable-recursive-minibuffers (> (minibuffer-depth) 0)) + (enable-recursive-minibuffers + (or enable-recursive-minibuffers (> (minibuffer-depth) 0))) (standard-input t) (standard-output t) (cursor-in-echo-area nil)) (unwind-protect -- 2.39.2