]> git.eshelyaron.com Git - emacs.git/commitdiff
(debug): Allow recursive minibuffers if we're in a minibuffer already.
authorRichard M. Stallman <rms@gnu.org>
Fri, 12 Sep 1997 20:57:17 +0000 (20:57 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 12 Sep 1997 20:57:17 +0000 (20:57 +0000)
lisp/emacs-lisp/debug.el

index 7a8980c08032d1fe1282b31f60177d12599d376f..9d46bda6869facca11ef270230e28ac087fa3792 100644 (file)
@@ -108,6 +108,9 @@ first will be printed into the backtrace buffer."
          last-event-frame
          overriding-local-map
          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))
          (standard-input t) (standard-output t)
          (cursor-in-echo-area nil))
       (unwind-protect