From 2d7c8e35b6423508eadc0a346a91c1848ac70acc Mon Sep 17 00:00:00 2001
From: Thomas Kahle <tomka@gentoo.org>
Date: Wed, 17 Nov 2010 22:11:16 +0000
Subject: bump to -r1 to comply with emacs standards

(Portage version: 2.1.9.24/cvs/Linux i686)
---
 app-emacs/undo-tree/ChangeLog                      |  8 ++++++-
 app-emacs/undo-tree/files/50undo-tree-gentoo.el    |  8 +++----
 .../undo-tree-0.1.7_pre20101117-r1.ebuild          | 26 ++++++++++++++++++++++
 .../undo-tree/undo-tree-0.1.7_pre20101117.ebuild   | 26 ----------------------
 4 files changed, 37 insertions(+), 31 deletions(-)
 create mode 100644 app-emacs/undo-tree/undo-tree-0.1.7_pre20101117-r1.ebuild
 delete mode 100644 app-emacs/undo-tree/undo-tree-0.1.7_pre20101117.ebuild

(limited to 'app-emacs/undo-tree')

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-r1.ebuild b/app-emacs/undo-tree/undo-tree-0.1.7_pre20101117-r1.ebuild
new file mode 100644
index 000000000000..be5e8e2815f7
--- /dev/null
+++ b/app-emacs/undo-tree/undo-tree-0.1.7_pre20101117-r1.ebuild
@@ -0,0 +1,26 @@
+# 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-r1.ebuild,v 1.1 2010/11/17 22:11:16 tomka Exp $
+
+NEED_EMACS=22
+
+inherit elisp
+
+DESCRIPTION="undo trees and visualization"
+HOMEPAGE="http://www.dr-qubit.org/emacs.php#undo-tree"
+SRC_URI="mirror://gentoo/${P}.el.bz2
+		 http://dev.gentoo.org/~tomka/files/${P}.el.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+SITEFILE="50${PN}-gentoo.el"
+
+pkg_postinst() {
+		elisp-site-regen
+
+		einfo "To enable undo trees globally place '(global-undo-tree-mode)'"
+		einfo "in your .emacs file."
+}
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.ebuild
deleted file mode 100644
index 00edc6d5d2d3..000000000000
--- a/app-emacs/undo-tree/undo-tree-0.1.7_pre20101117.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# 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 $
-
-NEED_EMACS=22
-
-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"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-SITEFILE="50${PN}-gentoo.el"
-
-pkg_postinst() {
-	elisp-site-regen
-
-	einfo "If you have (require 'site-gentoo) in your .emacs,"
-	einfo "then undo-trees will be globally activiated for you."
-}
-- 
cgit v1.2.3-65-gdbad