[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to restore the layout?
From: |
martin rudalics |
Subject: |
Re: How to restore the layout? |
Date: |
Fri, 05 Jul 2013 17:39:23 +0200 |
> That (restoring buffer lists) would be better, but still it is
> possible that no previous buffer can be found, so creating *scratch*
> or defaulting to something else will still be required.
How about replacing
(set-window-buffer window (get-buffer-create (car state)))
by the (completely untested)
(let ((buffer ((get-buffer (car state)))))
(if buffer
(set-window-buffer window buffer)
(switch-to-prev-buffer window)))
martin
- Re: How to restore the layout?, (continued)
- Re: How to restore the layout?, Juanma Barranquero, 2013/07/05
- Re: How to restore the layout?, martin rudalics, 2013/07/05
- Re: How to restore the layout?, Juanma Barranquero, 2013/07/05
- Re: How to restore the layout?, martin rudalics, 2013/07/05
- Re: How to restore the layout?, Juanma Barranquero, 2013/07/05
- Re: How to restore the layout?, martin rudalics, 2013/07/05
- Re: How to restore the layout?, Juanma Barranquero, 2013/07/06
- Re: How to restore the layout?, martin rudalics, 2013/07/07
- Re: How to restore the layout?, martin rudalics, 2013/07/05
- Re: How to restore the layout?, Juanma Barranquero, 2013/07/05
- Re: How to restore the layout?,
martin rudalics <=
- Re: How to restore the layout?, Juanma Barranquero, 2013/07/05
- Re: How to restore the layout?, martin rudalics, 2013/07/05
- Re: How to restore the layout?, Angelo Graziosi, 2013/07/05
- Re: How to restore the layout?, Juanma Barranquero, 2013/07/05
- Re: How to restore the layout?, martin rudalics, 2013/07/05
- Re: How to restore the layout?, Angelo Graziosi, 2013/07/05
- Re: How to restore the layout?, martin rudalics, 2013/07/05
- Re: How to restore the layout?, Jan Djärv, 2013/07/05
- Re: How to restore the layout?, Angelo Graziosi, 2013/07/05
- Re: How to restore the layout?, martin rudalics, 2013/07/05