summaryrefslogtreecommitdiff
blob: e6342a18a32ccf2c0b8839eadcc2bc0d0bade3d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit elisp readme.gentoo-r1

DESCRIPTION="When you start Emacs, Session restores various variables from your last session"
HOMEPAGE="http://emacs-session.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/emacs-session/${P}.tar.gz"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64 ppc x86"

S="${WORKDIR}"
SITEFILE="50${PN}-gentoo.el"
DOC_CONTENTS="Add the following to your ~/.emacs to use session:
	\n\t(require 'session)
	\n\t(add-hook 'after-init-hook 'session-initialize)"