summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-09-17 06:40:35 +0000
committerUlrich Müller <ulm@gentoo.org>2008-09-17 06:40:35 +0000
commit24783eb214c14d3929a36df7652f56473232ba10 (patch)
treeef3bc773c3d774860e7208717a193bf990f38e98 /eclass
parentBreak a long line. (diff)
downloademacs-24783eb214c14d3929a36df7652f56473232ba10.tar.gz
emacs-24783eb214c14d3929a36df7652f56473232ba10.tar.bz2
emacs-24783eb214c14d3929a36df7652f56473232ba10.zip
Output a deprecation warning in elisp-comp.
svn path=/emacs-overlay/; revision=1159
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"