From 24783eb214c14d3929a36df7652f56473232ba10 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Wed, 17 Sep 2008 06:40:35 +0000 Subject: Output a deprecation warning in elisp-comp. svn path=/emacs-overlay/; revision=1159 --- eclass/ChangeLog | 4 ++++ eclass/elisp-common.eclass | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'eclass') 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 + + * elisp-common.eclass (elisp-comp): Output a deprecation warning. + 2008-09-16 Christian Faulhammer * 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: # #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 , 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 ." + [ $# -gt 0 ] || return 1 ebegin "Compiling GNU Emacs Elisp files" -- cgit v1.2.3-65-gdbad