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

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

Re: Saving the frame layout between frames


From: Alex Bennée
Subject: Re: Saving the frame layout between frames
Date: Mon, 28 Oct 2013 17:38:19 +0000
User-agent: mu4e 0.9.9.6pre2; emacs 24.3.1

monnier@iro.umontreal.ca writes:

>>       (window-state-put crmbk-previous-frame-config))
>
> You need to state where to put that config (that's what the `window'
> arg is for).  So try it with
>
>    (window-state-put crmbk-previous-frame-config
>                      (frame-root-window frame))
<snip>

That worked thanks. I thought (frame-root-window frame) was the default
as the doc says "Optional argument WINDOW must specify a live window and
defaults to the selected one." but I guess at the time I'm running it
isn't.

Anyway it's working now, thanks.

-- 
Alex Bennée




reply via email to

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