[slime-cvs] CVS slime

trittweiler trittweiler at common-lisp.net
Sat Sep 8 21:37:22 UTC 2007


Update of /project/slime/cvsroot/slime
In directory clnet:/tmp/cvs-serv32756

Modified Files:
	swank-backend.lisp 
Log Message:

* swank-backend.lisp (definterface): Updated docstring.


--- /project/slime/cvsroot/slime/swank-backend.lisp	2007/09/04 10:32:05	1.124
+++ /project/slime/cvsroot/slime/swank-backend.lisp	2007/09/08 21:37:21	1.125
@@ -110,11 +110,15 @@
 
 (defmacro definterface (name args documentation &rest default-body)
   "Define an interface function for the backend to implement.
-A generic function is defined with NAME, ARGS, and DOCUMENTATION.
-
-If a DEFAULT-BODY is supplied then NO-APPLICABLE-METHOD is specialized
-to execute the body if the backend doesn't provide a specific
-implementation.
+A function is defined with NAME, ARGS, and DOCUMENTATION.  This
+function first looks for a function to call in NAME's property list
+that is indicated by 'IMPLEMENTATION; failing that, it looks for a
+function indicated by 'DEFAULT. If neither is present, an error is
+signaled.
+
+If a DEFAULT-BODY is supplied, then a function with the same body and
+ARGS will be added to NAME's property list as the property indicated
+by 'DEFAULT.
 
 Backends implement these functions using DEFIMPLEMENTATION."
   (check-type documentation string "a documentation string")




More information about the slime-cvs mailing list