]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix infloop on MS-Windows when initial frame lacks minibuffer.
authorEli Zaretskii <eliz@gnu.org>
Mon, 29 Jul 2013 16:34:53 +0000 (19:34 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 29 Jul 2013 16:34:53 +0000 (19:34 +0300)
 lisp/frame.el (frame-notice-user-settings): Avoid inflooping when the
 initial frame is minibuffer-less.  (Bug#14841)

lisp/ChangeLog
lisp/frame.el

index 6ecc18cdcdafc118660993e97a682fbb5c55157e..6f30ef90baddd738e36b1e3bd34a93d972a3553e 100644 (file)
@@ -1,3 +1,8 @@
+2013-07-29  Eli Zaretskii  <eliz@gnu.org>
+
+       * frame.el (frame-notice-user-settings): Avoid inflooping when the
+       initial frame is minibuffer-less.  (Bug#14841)
+
 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
 
        * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
index 71e7cc10de2c993894e321805e38b33fa7faadaf..22cf484e54acfddeb6575b7a23927cd0ae80e9b0 100644 (file)
@@ -317,6 +317,9 @@ there (in decreasing order of priority)."
                   t))
          ;; Create the new frame.
          (let (parms new)
+           ;; MS-Windows needs this to avoid inflooping below.
+           (if (eq system-type 'windows-nt)
+               (sit-for 0 t))
            ;; If the frame isn't visible yet, wait till it is.
            ;; If the user has to position the window,
            ;; Emacs doesn't know its real position until