1 |
ulm 08/10/12 19:48:21 |
2 |
|
3 |
Modified: elisp-common.eclass |
4 |
Log: |
5 |
Add function names to error messages. |
6 |
|
7 |
Revision Changes Path |
8 |
1.49 eclass/elisp-common.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/elisp-common.eclass?rev=1.49&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/elisp-common.eclass?rev=1.49&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/elisp-common.eclass?r1=1.48&r2=1.49 |
13 |
|
14 |
Index: elisp-common.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v |
17 |
retrieving revision 1.48 |
18 |
retrieving revision 1.49 |
19 |
diff -u -r1.48 -r1.49 |
20 |
--- elisp-common.eclass 5 Oct 2008 13:56:08 -0000 1.48 |
21 |
+++ elisp-common.eclass 12 Oct 2008 19:48:21 -0000 1.49 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2008 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.48 2008/10/05 13:56:08 ulm Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.49 2008/10/12 19:48:21 ulm Exp $ |
27 |
# |
28 |
# Copyright 2002-2004 Matthew Kennedy <mkennedy@g.o> |
29 |
# Copyright 2003 Jeremy Maitin-Shepard <jbms@×××××.com> |
30 |
@@ -174,7 +174,7 @@ |
31 |
elisp-compile() { |
32 |
ebegin "Compiling GNU Emacs Elisp files" |
33 |
${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS} -f batch-byte-compile "$@" |
34 |
- eend $? "batch-byte-compile failed" |
35 |
+ eend $? "elisp-compile: batch-byte-compile failed" |
36 |
} |
37 |
|
38 |
# #FUNCTION: elisp-comp |
39 |
@@ -219,8 +219,7 @@ |
40 |
popd |
41 |
rm -fr ${tempdir} |
42 |
|
43 |
- eend ${ret} "batch-byte-compile failed" |
44 |
- return ${ret} |
45 |
+ eend ${ret} "elisp-comp: batch-byte-compile failed" |
46 |
} |
47 |
|
48 |
# @FUNCTION: elisp-emacs-version |
49 |
@@ -266,7 +265,7 @@ |
50 |
--eval "(setq generated-autoload-file (expand-file-name \"${f}\"))" \ |
51 |
-f batch-update-autoloads "${@-.}" |
52 |
|
53 |
- eend $? "batch-update-autoloads failed" |
54 |
+ eend $? "elisp-make-autoload-file: batch-update-autoloads failed" |
55 |
} |
56 |
|
57 |
# @FUNCTION: elisp-install |
58 |
@@ -282,7 +281,7 @@ |
59 |
insinto "${SITELISP}/${subdir}" |
60 |
doins "$@" |
61 |
) |
62 |
- eend $? "doins failed" |
63 |
+ eend $? "elisp-install: doins failed" |
64 |
} |
65 |
|
66 |
# @FUNCTION: elisp-site-file-install |
67 |
@@ -302,7 +301,7 @@ |
68 |
) |
69 |
ret=$? |
70 |
rm -f "${sf}" |
71 |
- eend ${ret} "doins failed" |
72 |
+ eend ${ret} "elisp-site-file-install: doins failed" |
73 |
} |
74 |
|
75 |
# @FUNCTION: elisp-site-regen |
76 |
@@ -321,7 +320,7 @@ |
77 |
local tmpdir=${T:-$(mktemp -d)} |
78 |
|
79 |
if [ ! -d "${ROOT}${SITELISP}" ]; then |
80 |
- eerror "Directory ${SITELISP} does not exist" |
81 |
+ eerror "elisp-site-regen: Directory ${SITELISP} does not exist" |
82 |
return 1 |
83 |
fi |