diff options
-rw-r--r-- | eclass/ChangeLog | 4 | ||||
-rw-r--r-- | eclass/elisp-common.eclass | 44 |
2 files changed, 6 insertions, 42 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index b1eb055..9c6402a 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,3 +1,7 @@ +2009-03-22 Ulrich Mueller <ulm@gentoo.org> + + * elisp-common.eclass (elisp-comp): Die. + 2009-03-17 Ulrich Mueller <ulm@gentoo.org> * elisp.eclass (elisp_src_unpack): Explicitly assign S=${WORKDIR} diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index e708bc1..35a5b65 100644 --- a/eclass/elisp-common.eclass +++ b/eclass/elisp-common.eclass @@ -174,49 +174,9 @@ elisp-compile() { eend $? "elisp-compile: batch-byte-compile failed" } -# #FUNCTION: elisp-comp -# #USAGE: <list of elisp files> -# #DESCRIPTION: -# Byte-compile interdependent Emacs Lisp files. -# THIS FUNCTION IS DEPRECATED. -# -# This function byte-compiles all ".el" files which are part of its -# arguments, using GNU Emacs, and puts the resulting ".elc" files into the -# current directory, so disregarding the original directories used in ".el" -# arguments. -# -# This function manages in such a way that all Emacs Lisp files to be -# compiled are made visible between themselves, in the event they require or -# load one another. - +# Not supported any more elisp-comp() { - # Copyright 1995 Free Software Foundation, Inc. - # François Pinard <pinard@iro.umontreal.ca>, 1995. - # Originally taken from GNU autotools. - - ewarn "Function elisp-comp is deprecated and may be removed in future." - ewarn "Please use function elisp-compile instead, or report a bug about" - ewarn "${CATEGORY}/${PF} at <http://bugs.gentoo.org/>." - echo - - [ $# -gt 0 ] || return 1 - - ebegin "Compiling GNU Emacs Elisp files" - - local tempdir=elc.$$ - mkdir ${tempdir} - cp "$@" ${tempdir} - pushd ${tempdir} - - echo "(add-to-list 'load-path \"../\")" > script - ${EMACS} ${EMACSFLAGS} -l script -f batch-byte-compile *.el - local ret=$? - mv *.elc .. - - popd - rm -fr ${tempdir} - - eend ${ret} "elisp-comp: batch-byte-compile failed" + die "Function elisp-comp is not supported any more, see bug 235442" } # @FUNCTION: elisp-emacs-version |