[Top][All Lists]

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

Re: Expand/unexpand window possible?

From: Lars Haugseth
Subject: Re: Expand/unexpand window possible?
Date: 12 Mar 2009 12:07:28 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

* address@hidden (Pascal J. Bourguignon) wrote:
> Lars Haugseth <address@hidden> writes:
> > When typing C-x 1 in a multi-window frame, the current window will fill
> > the entire frame, but all other windows will be deleted so that there will
> > be no going back to the previous multi-window setup. Is there any way to
> > achieve this expand/unexpand functionality without major elisp wizardry on
> > my part?
> What about minor elisp wizardry on MY part?
> (defun temporarily-expand ()
>   (interactive)
>   (save-window-excursion
>     (delete-other-windows)
>     (message "Finish with %s" 
>              (describe-key-briefly (first (where-is-internal 
> 'abort-recursive-edit))))
>     (recursive-edit)))

Lovely! Much appreciated.

Lars Haugseth

"If anyone disagrees with anything I say, I am quite prepared not only to
 retract it, but also to deny under oath that I ever said it." -Tom Lehrer

reply via email to

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