summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog4
-rw-r--r--eclass/elisp-common.eclass5
2 files changed, 9 insertions, 0 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 2c7a00a..e94761e 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-17 Ulrich Mueller <ulm@gentoo.org>
+
+ * elisp-common.eclass (elisp-comp): Output a deprecation warning.
+
2008-09-16 Christian Faulhammer <opfer@gentoo.org>
* elisp-common.eclass (elisp-site-regen): Add category for emacs-updater
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass
index 62cb815..f7328dd 100644
--- a/eclass/elisp-common.eclass
+++ b/eclass/elisp-common.eclass
@@ -179,6 +179,7 @@ elisp-compile() {
# #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
@@ -194,6 +195,10 @@ elisp-comp() {
# François Pinard <pinard@iro.umontreal.ca>, 1995.
# Originally taken from GNU autotools.
+ ewarn "Function elisp-comp is deprecated and should not be used anymore."
+ ewarn "Please report a bug about ${CATEGORY}/${PF}"
+ ewarn "at <http://bugs.gentoo.org/>."
+
[ $# -gt 0 ] || return 1
ebegin "Compiling GNU Emacs Elisp files"