[Top][All Lists]

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

Re: How to restore the layout?

From: Juanma Barranquero
Subject: Re: How to restore the layout?
Date: Mon, 8 Jul 2013 04:50:27 +0200

[Sorry, I've been busy and didn't test your code until now]

On Tue, Jul 2, 2013 at 12:38 PM, martin rudalics <address@hidden> wrote:

> A first, untested stab is below: Frames get a desktop-mini parameter
> which is a cons.  The car is t if the frame has a minibuffer and nil if
> not.


>          ;; Do nothing if we are our own minibuffer frame.
>          ((eq minibuffer-frame frame))

In fact, it is possible to do

  emacs -Q --eval "(make-frame `((minibuffer . ,(minibuffer-window))))"

and have the second frame to use the first one's minibuffer, so even
frames that arew their own minibuffer frames should be saved as
(desktop-mini t . NUMBER), shouldn't they?


reply via email to

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