summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-09-12 20:57:17 +0000
committerRichard M. Stallman <rms@gnu.org>1997-09-12 20:57:17 +0000
commitc7387861c71fbc20254440b6594cf37c14b60b2c (patch)
tree0bd93af951a9092a8ec55433600ef196746c82c4 /lisp/emacs-lisp
parent54c548db96cd8247cdb0561ee55701c8dc70490b (diff)
downloademacs-c7387861c71fbc20254440b6594cf37c14b60b2c.tar.gz
emacs-c7387861c71fbc20254440b6594cf37c14b60b2c.tar.bz2
emacs-c7387861c71fbc20254440b6594cf37c14b60b2c.zip
(debug): Allow recursive minibuffers if we're in a minibuffer already.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/debug.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el
index 7a8980c0803..9d46bda6869 100644
--- a/lisp/emacs-lisp/debug.el
+++ b/lisp/emacs-lisp/debug.el
@@ -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