summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2003-10-06 06:38:33 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2003-10-06 06:38:33 +0000
commit0a861c5a47f3ef000c9a4b1e98357d4c7d917090 (patch)
tree3b0fcb1357c9106d16b47053c129024e42eaf7ec /eclass/elisp-common.eclass
parentrepoman: Fix leading whitespace (diff)
downloadhistorical-0a861c5a47f3ef000c9a4b1e98357d4c7d917090.tar.gz
historical-0a861c5a47f3ef000c9a4b1e98357d4c7d917090.tar.bz2
historical-0a861c5a47f3ef000c9a4b1e98357d4c7d917090.zip
added improvements and cleanups from Jeremy Maitin-Shepard
<jbms@attbi.com> bug 29698
Diffstat (limited to 'eclass/elisp-common.eclass')
-rw-r--r--eclass/elisp-common.eclass10
1 files changed, 8 insertions, 2 deletions
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass
index ed33d1b41988..42685d27c3f7 100644
--- a/eclass/elisp-common.eclass
+++ b/eclass/elisp-common.eclass
@@ -1,8 +1,9 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.1 2003/09/21 01:40:41 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.2 2003/10/06 06:38:33 mkennedy Exp $
#
-# Author Matthew Kennedy <mkennedy@gentoo.org>
+# Copyright 2002-2003 Matthew Kennedy <mkennedy@gentoo.org>
+# Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com>
#
# This is not an eclass, but it does provide emacs-related
# installation utilities.
@@ -12,6 +13,10 @@ INHERITED="$INHERITED $ECLASS"
SITELISP=/usr/share/emacs/site-lisp
+elisp-compile() {
+ /usr/bin/emacs --batch -f batch-byte-compile --no-site-file --no-init-file $*
+}
+
elisp-install() {
local subdir=$1
dodir ${SITELISP}/${subdir}
@@ -54,3 +59,4 @@ EOF
# tab-width: 4 ***
# indent-tabs-mode: t ***
# End: ***
+