bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#1450: w32_reset_fringes


From: martin rudalics
Subject: bug#1450: w32_reset_fringes
Date: Fri, 28 Nov 2008 14:22:45 +0100
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

The first report was too complicated.  It's sufficient to put the
following line into your .emacs

(setq default-frame-alist '((minibuffer)))

and kill the minibuffer window.  The bug seems due to Richard's change
from 2008-02-08 ...

***************
*** 1393,1404 ****
              && EQ (frame,
                     WINDOW_FRAME (XWINDOW
                                   (FRAME_MINIBUF_WINDOW (XFRAME (this))))))
!           error ("Attempt to delete a surrogate minibuffer frame");
        }
      }

!   /* Run `delete-frame-functions' unless frame is a tooltip.  */
!   if (!NILP (Vrun_hooks)
        && NILP (Fframe_parameter (frame, intern ("tooltip"))))
      {
        Lisp_Object args[2];
--- 1395,1415 ----
              && EQ (frame,
                     WINDOW_FRAME (XWINDOW
                                   (FRAME_MINIBUF_WINDOW (XFRAME (this))))))
!           {
!             /* If we MUST delete this frame, delete the other first.  */
!             if (!NILP (force))
!               Fdelete_frame (this, force);
!             else
!               error ("Attempt to delete a surrogate minibuffer frame");
!           }
        }
      }

... but maybe other changes are involved too.

martin






reply via email to

[Prev in Thread] Current Thread [Next in Thread]