aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/server.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/server.el b/lisp/server.el
index d491a260377..45e3d007e45 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -926,7 +926,7 @@ This handles splitting the command if it would be bigger than
926 (isearch-cancel)))) 926 (isearch-cancel))))
927 ;; Signaled by isearch-cancel. 927 ;; Signaled by isearch-cancel.
928 (quit (message nil))) 928 (quit (message nil)))
929 (when (> (recursion-depth) 0) 929 (when (> (minibuffer-depth) 0)
930 ;; We're inside a minibuffer already, so if the emacs-client is trying 930 ;; We're inside a minibuffer already, so if the emacs-client is trying
931 ;; to open a frame on a new display, we might end up with an unusable 931 ;; to open a frame on a new display, we might end up with an unusable
932 ;; frame because input from that display will be blocked (until exiting 932 ;; frame because input from that display will be blocked (until exiting