When you start Emacs, package Session restores various variables (e.g., input histories) from your last session. It also provides a menu containing recently changed/visited files and restores the places (e.g., point) of such a file when you revisit it. As opposed to desktop.el and other packages, Session does not automatically revisits all files from your last session, most of which are not interesting anymore.
16 lines
595 B
Text
16 lines
595 B
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.1.1.1 2011/09/21 04:42:53 phonohawk Exp $
|
|
|
|
Append the following line to your .emacs file:
|
|
|
|
(require 'session)
|
|
|
|
Then use Emacs' customization buffer to enable this package:
|
|
|
|
1. Start customization with M-x customize-group RET session RET or
|
|
the menu [Options][Customize...]...[Data][Session].
|
|
|
|
2. Toggle the [Session Use Package] option to "in use".
|
|
|
|
3. Save your customization via [Save for future sessions].
|
|
===========================================================================
|