diff options
Diffstat (limited to 'app-emacs/expand-region')
-rw-r--r-- | app-emacs/expand-region/expand-region-0.11.0-r1.ebuild (renamed from app-emacs/expand-region/expand-region-0.11.0.ebuild) | 15 | ||||
-rw-r--r-- | app-emacs/expand-region/files/50expand-region-gentoo.el | 3 |
2 files changed, 7 insertions, 11 deletions
diff --git a/app-emacs/expand-region/expand-region-0.11.0.ebuild b/app-emacs/expand-region/expand-region-0.11.0-r1.ebuild index b151534d2ef7..520e27025faf 100644 --- a/app-emacs/expand-region/expand-region-0.11.0.ebuild +++ b/app-emacs/expand-region/expand-region-0.11.0-r1.ebuild @@ -1,23 +1,18 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit elisp DESCRIPTION="Emacs extension to increase selected region by semantic units" HOMEPAGE="https://github.com/magnars/expand-region.el" -SRC_URI="https://github.com/magnars/expand-region.el/archive/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/magnars/${PN}.el/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" -S="${WORKDIR}/expand-region.el-${PV}" +S="${WORKDIR}/${PN}.el-${PV}" SITEFILE="50${PN}-gentoo.el" DOCS="README.md" - -src_compile() { - elisp-compile *.el - elisp-make-autoload-file -} diff --git a/app-emacs/expand-region/files/50expand-region-gentoo.el b/app-emacs/expand-region/files/50expand-region-gentoo.el index bd5b40540780..4b065061de9e 100644 --- a/app-emacs/expand-region/files/50expand-region-gentoo.el +++ b/app-emacs/expand-region/files/50expand-region-gentoo.el @@ -1,2 +1,3 @@ (add-to-list 'load-path "@SITELISP@") -(load "expand-region-autoloads" nil t) +(autoload 'er/expand-region "expand-region" + "Increase selected region by semantic units." t) |