Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to make emacs save and restore editing session?

0 views
Skip to first unread message

Eli Zaretskii

unread,
Mar 31, 2001, 11:22:50 PM3/31/01
to
IgOr wrote:
>
> I want my emacs to save all buffer names that it was editing, as well
> as frames and positions. Then, if next time I invoke it without a
> filename argument, I want it to just restore my previous editing session.
>
> Can this be done?

Type "M-x desktop-save RET RET". After that, "M-x desktop-read RET" will
restore the session. You can put

(desktop-load-default)
(desktop-read)

in your .emacs file, to make Emacs restore the last session automatically
when it starts.

See the commentary in the package desktop.el for details.

0 new messages