[slime-devel] [PATCH] swank:arglist-string retruns NIL for generic functions

Ivan Boldyrev boldyrev+nospam at cgitftp.uiggm.nsc.ru
Fri Jan 16 22:24:58 UTC 2004


My configuration is:  Emacs 21.3.1 and CMU CL 18e under Linux.

swank:arglist-string always returns NIL for generic functions.  I have
investigated the problem and here is a tiny patch:


--- swank-cmucl.lisp.~1.50.~    2004-01-16 00:54:45.000000000 +0600
+++ swank-cmucl.lisp    2004-01-17 04:18:09.000000000 +0600
@@ -781,7 +781,7 @@
                 (cond ((eval:interpreted-function-p fun)
                        (eval:interpreted-function-arglist fun))
                       ((pcl::generic-function-p fun)
-                       (pcl::gf-pretty-arglist fun))
+                       (pcl::generic-function-pretty-arglist fun))
                       (arglist arglist)
                       ;; this should work both for
                       ;; compiled-debug-function and for


It seems pcl::gf-pretty-arglist always returns nil :(

If you want to apply the patch and to mention my name in ChangeLog,
use unmodified e-mail (with +nospam@).  Or do not mention e-mail at
all.

-- 
Ivan Boldyrev

                               Onions have layers.  Unix has layers too.





More information about the slime-devel mailing list