diff options
author | Ulrich Müller <ulm@gentoo.org> | 2008-10-12 19:48:21 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2008-10-12 19:48:21 +0000 |
commit | d7b17bae0988b867db45c4317af775257b254552 (patch) | |
tree | 68a5a8f894f63397684c05832a4acde1c8b7528d /eclass/elisp-common.eclass | |
parent | Add lirc_devices settings irlink, commandir, ite8709 and samsung. (diff) | |
download | gentoo-2-d7b17bae0988b867db45c4317af775257b254552.tar.gz gentoo-2-d7b17bae0988b867db45c4317af775257b254552.tar.bz2 gentoo-2-d7b17bae0988b867db45c4317af775257b254552.zip |
Add function names to error messages.
Diffstat (limited to 'eclass/elisp-common.eclass')
-rw-r--r-- | eclass/elisp-common.eclass | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index 027ae4018a41..387be54b8be1 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.48 2008/10/05 13:56:08 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.49 2008/10/12 19:48:21 ulm Exp $ # # Copyright 2002-2004 Matthew Kennedy <mkennedy@gentoo.org> # Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com> @@ -174,7 +174,7 @@ BYTECOMPFLAGS="-L ." elisp-compile() { ebegin "Compiling GNU Emacs Elisp files" ${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS} -f batch-byte-compile "$@" - eend $? "batch-byte-compile failed" + eend $? "elisp-compile: batch-byte-compile failed" } # #FUNCTION: elisp-comp @@ -219,8 +219,7 @@ elisp-comp() { popd rm -fr ${tempdir} - eend ${ret} "batch-byte-compile failed" - return ${ret} + eend ${ret} "elisp-comp: batch-byte-compile failed" } # @FUNCTION: elisp-emacs-version @@ -266,7 +265,7 @@ elisp-make-autoload-file() { --eval "(setq generated-autoload-file (expand-file-name \"${f}\"))" \ -f batch-update-autoloads "${@-.}" - eend $? "batch-update-autoloads failed" + eend $? "elisp-make-autoload-file: batch-update-autoloads failed" } # @FUNCTION: elisp-install @@ -282,7 +281,7 @@ elisp-install() { insinto "${SITELISP}/${subdir}" doins "$@" ) - eend $? "doins failed" + eend $? "elisp-install: doins failed" } # @FUNCTION: elisp-site-file-install @@ -302,7 +301,7 @@ elisp-site-file-install() { ) ret=$? rm -f "${sf}" - eend ${ret} "doins failed" + eend ${ret} "elisp-site-file-install: doins failed" } # @FUNCTION: elisp-site-regen @@ -321,7 +320,7 @@ elisp-site-regen() { local tmpdir=${T:-$(mktemp -d)} if [ ! -d "${ROOT}${SITELISP}" ]; then - eerror "Directory ${SITELISP} does not exist" + eerror "elisp-site-regen: Directory ${SITELISP} does not exist" return 1 fi |