summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-12-29 20:15:12 +0000
committerUlrich Müller <ulm@gentoo.org>2009-12-29 20:15:12 +0000
commit6519ff1ed11a90f0ad80edaba7dd388d17c6b8f2 (patch)
treecac19078d01521ebfb94ed80828487e01abb6af7 /eclass/elisp-common.eclass
parentstable x86, bug 298173 (diff)
downloadhistorical-6519ff1ed11a90f0ad80edaba7dd388d17c6b8f2.tar.gz
historical-6519ff1ed11a90f0ad80edaba7dd388d17c6b8f2.tar.bz2
historical-6519ff1ed11a90f0ad80edaba7dd388d17c6b8f2.zip
Sync from Emacs overlay (revision 1477).
Remove the warning about obsolete files; the install location was changed two years ago.
Diffstat (limited to 'eclass/elisp-common.eclass')
-rw-r--r--eclass/elisp-common.eclass16
1 files changed, 2 insertions, 14 deletions
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass
index fd8d61761f05..7b21db63acf4 100644
--- a/eclass/elisp-common.eclass
+++ b/eclass/elisp-common.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.64 2009/12/07 21:05:08 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.65 2009/12/29 20:15:12 ulm Exp $
#
# Copyright 2002-2004 Matthew Kennedy <mkennedy@gentoo.org>
# Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com>
@@ -284,7 +284,7 @@ elisp-site-file-install() {
elisp-site-regen() {
local sitelisp=${ROOT}${EPREFIX}${SITELISP}
- local i sf line obsolete null="" page=$'\f'
+ local sf i line null="" page=$'\f'
local -a sflist
if [ ! -d "${sitelisp}" ]; then
@@ -317,8 +317,6 @@ elisp-site-regen() {
sflist[i]=${sflist[i-1]}
done
sflist[i]=${sf}
- # set a flag if there are obsolete files
- [ "${sf%/*}" = "${sitelisp}" ] && obsolete=t
done
eval "${old_shopts}"
@@ -362,16 +360,6 @@ elisp-site-regen() {
esac
fi
- if [ "${obsolete}" ]; then
- echo
- while read line; do ewarn "${line}"; done <<-EOF
- Site-initialisation files of Emacs packages are now installed in
- /usr/share/emacs/site-lisp/site-gentoo.d/. We strongly recommend
- that you use app-admin/emacs-updater to rebuild the installed
- Emacs packages.
- EOF
- fi
-
# cleanup
rm -f "${T}"/site-gentoo.el