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
commitc997388aa295f1800a003c46844840e827e62538 (patch)
tree8215a0526ec3d798d5cc68ced875d37e03cabd0d /eclass/elisp-common.eclass
parentstable x86, bug 298173 (diff)
downloadgentoo-2-c997388aa295f1800a003c46844840e827e62538.tar.gz
gentoo-2-c997388aa295f1800a003c46844840e827e62538.tar.bz2
gentoo-2-c997388aa295f1800a003c46844840e827e62538.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