From ff0a4669f21e82a6d55f248adb68ce006256998f Mon Sep 17 00:00:00 2001 From: Francois-Rene Rideau <fare@tunes.org> Date: Thu, 26 Aug 2010 23:17:01 -0400 Subject: [PATCH] Include feedback from Zach re: source-file-type. --- doc/asdf.texinfo | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/asdf.texinfo b/doc/asdf.texinfo index c9195e9a..c7b41e68 100644 --- a/doc/asdf.texinfo +++ b/doc/asdf.texinfo @@ -3140,6 +3140,15 @@ initform for the @code{type} slot: ((type :initform "cl"))) @end lisp +To support both ASDF 1 and ASDF 2, +you may omit the above @code{type} slot definition and instead define: + +@lisp +(defmethod source-file-type ((f my-cl-source-file) (m module)) + (declare (ignorable f m)) + "cl") +@end lisp + Then make your system use this subclass in preference to the standard one: -- GitLab