changeset 19889:3e6802bae367

(debug): Allow recursive minibuffers if we're in a minibuffer already.
author Richard M. Stallman <rms@gnu.org>
date Fri, 12 Sep 1997 20:57:17 +0000
parents 45a077538366
children 7c3a2b987f89
files lisp/emacs-lisp/debug.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/debug.el	Fri Sep 12 20:55:34 1997 +0000
+++ b/lisp/emacs-lisp/debug.el	Fri Sep 12 20:57:17 1997 +0000
@@ -108,6 +108,9 @@
 	  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