summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2010-11-17 22:11:16 +0000
committerThomas Kahle <tomka@gentoo.org>2010-11-17 22:11:16 +0000
commit2d7c8e35b6423508eadc0a346a91c1848ac70acc (patch)
tree55beb49f5b0cd03549b041d78557b20388a8facf /app-emacs
parentStable on amd64 wrt bug #344081 (diff)
downloadgentoo-2-2d7c8e35b6423508eadc0a346a91c1848ac70acc.tar.gz
gentoo-2-2d7c8e35b6423508eadc0a346a91c1848ac70acc.tar.bz2
gentoo-2-2d7c8e35b6423508eadc0a346a91c1848ac70acc.zip
bump to -r1 to comply with emacs standards
(Portage version: 2.1.9.24/cvs/Linux i686)
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/undo-tree/ChangeLog8
-rw-r--r--app-emacs/undo-tree/files/50undo-tree-gentoo.el8
-rw-r--r--app-emacs/undo-tree/undo-tree-0.1.7_pre20101117-r1.ebuild (renamed from app-emacs/undo-tree/undo-tree-0.1.7_pre20101117.ebuild)12
3 files changed, 17 insertions, 11 deletions
diff --git a/app-emacs/undo-tree/ChangeLog b/app-emacs/undo-tree/ChangeLog
index 9e51a0fc7b38..1b94e05c2d78 100644
--- a/app-emacs/undo-tree/ChangeLog
+++ b/app-emacs/undo-tree/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emacs/undo-tree
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/undo-tree/ChangeLog,v 1.1 2010/11/17 18:17:24 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/undo-tree/ChangeLog,v 1.2 2010/11/17 22:11:16 tomka Exp $
+
+*undo-tree-0.1.7_pre20101117-r1 (17 Nov 2010)
+
+ 17 Nov 2010; Thomas Kahle <tomka@gentoo.org> files/50undo-tree-gentoo.el,
+ -undo-tree-0.1.7_pre20101117.ebuild, +undo-tree-0.1.7_pre20101117-r1.ebuild:
+ -r1 added, dropped old. Sitefile improvements thanks to ulm.
*undo-tree-0.1.7_pre20101117 (17 Nov 2010)
diff --git a/app-emacs/undo-tree/files/50undo-tree-gentoo.el b/app-emacs/undo-tree/files/50undo-tree-gentoo.el
index 2f5429d6b910..6fcc1baaf120 100644
--- a/app-emacs/undo-tree/files/50undo-tree-gentoo.el
+++ b/app-emacs/undo-tree/files/50undo-tree-gentoo.el
@@ -1,4 +1,4 @@
-(add-to-list 'load-path "@SITELISP@" )
-
-(require 'undo-tree)
-(global-undo-tree-mode)
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'undo-tree-mode "undo-tree" "Enable undo-trees" t)
+(autoload 'global-undo-tree-mode "undo-tree" "Enable undo-trees globally" t)
diff --git a/app-emacs/undo-tree/undo-tree-0.1.7_pre20101117.ebuild b/app-emacs/undo-tree/undo-tree-0.1.7_pre20101117-r1.ebuild
index 00edc6d5d2d3..be5e8e2815f7 100644
--- a/app-emacs/undo-tree/undo-tree-0.1.7_pre20101117.ebuild
+++ b/app-emacs/undo-tree/undo-tree-0.1.7_pre20101117-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/undo-tree/undo-tree-0.1.7_pre20101117.ebuild,v 1.2 2010/11/17 19:08:39 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/undo-tree/undo-tree-0.1.7_pre20101117-r1.ebuild,v 1.1 2010/11/17 22:11:16 tomka Exp $
NEED_EMACS=22
@@ -8,8 +8,8 @@ inherit elisp
DESCRIPTION="undo trees and visualization"
HOMEPAGE="http://www.dr-qubit.org/emacs.php#undo-tree"
-SRC_URI="mirror://gentoo/${P}.tar.bz2
- http://dev.gentoo.org/~tomka/files/${P}.tar.bz2"
+SRC_URI="mirror://gentoo/${P}.el.bz2
+ http://dev.gentoo.org/~tomka/files/${P}.el.bz2"
LICENSE="GPL-3"
SLOT="0"
@@ -19,8 +19,8 @@ IUSE=""
SITEFILE="50${PN}-gentoo.el"
pkg_postinst() {
- elisp-site-regen
+ elisp-site-regen
- einfo "If you have (require 'site-gentoo) in your .emacs,"
- einfo "then undo-trees will be globally activiated for you."
+ einfo "To enable undo trees globally place '(global-undo-tree-mode)'"
+ einfo "in your .emacs file."
}