summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1999-01-04 11:53:22 +0000
committerAndreas Schwab <schwab@suse.de>1999-01-04 11:53:22 +0000
commitf0ee23367c2c24520fc759051d3d7a1248d5c13b (patch)
tree374f2b77e329e07f8c497a6151ac15085d5d6294 /lisp/emacs-lisp
parent5d9b78b76137c356b75f591e5fbb41c33ba958f1 (diff)
downloademacs-f0ee23367c2c24520fc759051d3d7a1248d5c13b.tar.gz
emacs-f0ee23367c2c24520fc759051d3d7a1248d5c13b.tar.bz2
emacs-f0ee23367c2c24520fc759051d3d7a1248d5c13b.zip
(debug): Leave recursive minibuffer enabled
if it was enabled before.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/debug.el3
1 files changed, 2 insertions, 1 deletions
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