From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/emacs:master commit in: eclass/
Date: Sun, 18 May 2014 14:53:23 +0000 (UTC) [thread overview]
Message-ID: <1400423851.7775d6825cd8a37cdcca83a062f7d09546981184.ulm@gentoo> (raw)
commit: 7775d6825cd8a37cdcca83a062f7d09546981184
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun May 18 14:37:31 2014 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun May 18 14:37:31 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=7775d682
elisp-common.eclass: Look for site-init files in site-gentoo.d only.
* elisp-common.eclass (elisp-site-regen): Look for site-init files
only in site-gentoo.d subdirectory.
---
eclass/ChangeLog | 7 ++++++-
eclass/elisp-common.eclass | 14 +++-----------
2 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index e46c0f1..34ffa34 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,3 +1,8 @@
+2014-05-18 Ulrich Müller <ulm@gentoo.org>
+
+ * elisp-common.eclass (elisp-site-regen): Look for site-init files
+ only in site-gentoo.d subdirectory.
+
2013-10-31 Ulrich Müller <ulm@gentoo.org>
* elisp-common.eclass (elisp-site-regen): Don't create
@@ -794,5 +799,5 @@
* elisp.eclass: Initial.
-Copyright 2002-2013 Gentoo Foundation
+Copyright 2002-2014 Gentoo Foundation
Distributed under the terms of the GNU General Public License v2
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass
index d1e7fbb..12bbc00 100644
--- a/eclass/elisp-common.eclass
+++ b/eclass/elisp-common.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
#
@@ -369,16 +369,8 @@ elisp-site-regen() {
ebegin "Regenerating site-gentoo.el for GNU Emacs (${EBUILD_PHASE})"
- for sf in "${sitelisp}"/[0-9][0-9]*-gentoo.el \
- "${sitelisp}"/site-gentoo.d/[0-9][0-9]*.el
- do
- [[ -r ${sf} ]] || continue
- # sort files by their basename. straight insertion sort.
- for ((i=${#sflist[@]}; i>0; i--)); do
- [[ ${sf##*/} < ${sflist[i-1]##*/} ]] || break
- sflist[i]=${sflist[i-1]}
- done
- sflist[i]=${sf}
+ for sf in "${sitelisp}"/site-gentoo.d/[0-9][0-9]*.el; do
+ [[ -r ${sf} ]] && sflist+=("${sf}")
done
cat <<-EOF >"${T}"/site-gentoo.el
next reply other threads:[~2014-05-18 14:53 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-18 14:53 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-01-31 8:34 [gentoo-commits] proj/emacs:master commit in: eclass/ Ulrich Müller
2015-12-20 15:36 Ulrich Müller
2015-05-25 13:19 Ulrich Müller
2015-05-25 13:19 Ulrich Müller
2015-05-25 13:19 Ulrich Müller
2014-06-11 9:15 Ulrich Müller
2014-06-07 10:32 Ulrich Müller
2014-05-19 17:38 Ulrich Müller
2014-05-18 14:53 Ulrich Müller
2013-11-04 21:34 Ulrich Müller
2013-10-31 15:07 Ulrich Müller
2013-09-04 19:12 Ulrich Mueller
2013-08-02 16:46 Ulrich Mueller
2013-07-22 20:07 Ulrich Mueller
2013-07-18 20:36 Ulrich Mueller
2013-07-16 16:37 Mats Lidell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1400423851.7775d6825cd8a37cdcca83a062f7d09546981184.ulm@gentoo \
--to=ulm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox