How to restore Emacs' windows and buffers from the last session?
The behavior I want is like in web browser that you can restore all the tabs from last session.
feedback
|
|
Here's some code to do it. For the code to work, you need the "tapestry" Lisp library installed. If you use the VM mailer, you have the library installed already. Otherwise you can download it from here. Put the following code in your .emacs file. When you want to restore your window and frame setup from your last Emacs session, type
| |||||||||||
feedback
|
|
go to your .emacs file and type (desktop-save-mode 1) this will save all current buffers to a "desktop" file, it wont save the actual layout of your frames but you can look into "registers" for that. | |||
|
feedback
|