summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-10-05 13:56:08 +0000
committerUlrich Müller <ulm@gentoo.org>2008-10-05 13:56:08 +0000
commit502ad35d3b0b7a0a398b95931f2239c2f952b379 (patch)
tree12a99a4236067f66c9fd194f9d095794e2222e9e /eclass/elisp-common.eclass
parentVersion bump (diff)
downloadhistorical-502ad35d3b0b7a0a398b95931f2239c2f952b379.tar.gz
historical-502ad35d3b0b7a0a398b95931f2239c2f952b379.tar.bz2
historical-502ad35d3b0b7a0a398b95931f2239c2f952b379.zip
Document SITEETC as eclass variable. Update comment for elisp-site-regen.
Diffstat (limited to 'eclass/elisp-common.eclass')
-rw-r--r--eclass/elisp-common.eclass15
1 files changed, 9 insertions, 6 deletions
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass
index 113777a6f3a4..027ae4018a41 100644
--- a/eclass/elisp-common.eclass
+++ b/eclass/elisp-common.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.47 2008/09/24 09:47:04 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.48 2008/10/05 13:56:08 ulm Exp $
#
# Copyright 2002-2004 Matthew Kennedy <mkennedy@gentoo.org>
# Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com>
@@ -132,6 +132,8 @@
# Directory where packages install Emacs Lisp files.
SITELISP=/usr/share/emacs/site-lisp
+# @ECLASS-VARIABLE: SITEETC
+# @DESCRIPTION:
# Directory where packages install miscellaneous (not Lisp) files.
SITEETC=/usr/share/emacs/etc
@@ -305,11 +307,12 @@ elisp-site-file-install() {
# @FUNCTION: elisp-site-regen
# @DESCRIPTION:
-# Regenerate site-gentoo.el file. The old location for site initialisation
-# files of packages was /usr/share/emacs/site-lisp/. In December 2007 this
-# has been changed to /usr/share/emacs/site-lisp/site-gentoo.d/. Remerge of
-# packages with Emacs support is enough, the old location is still supported
-# when generating the start-up file.
+# Regenerate the site-gentoo.el file, based on packages' site initialisation
+# files in the /usr/share/emacs/site-lisp/site-gentoo.d/ directory.
+#
+# Note: Before December 2007, site initialisation files were installed in
+# /usr/share/emacs/site-lisp/. For backwards compatibility, this location is
+# still supported when generating site-gentoo.el.
elisp-site-regen() {
local i sf line firstrun obsolete