[slime-devel] define-special fix

John Paul Wallington jpw at gnu.org
Mon Sep 6 03:06:20 UTC 2004


It seems that the doc-type in the (setf documentation) call should be
`variable' rather than `symbol'.  Also, it doesn't seem necessary to
quote `doc'.  WDYT ?

2004-09-06  John Paul Wallington  <jpw at gnu.org>

	* swank.lisp (define-special): Make the doc-type `variable'
	rather than `symbol'.  Don't quote `doc'.

Index: swank.lisp
===================================================================
RCS file: /project/slime/cvsroot/slime/swank.lisp,v
retrieving revision 1.227
diff -u -r1.227 swank.lisp
--- swank.lisp	3 Sep 2004 21:12:00 -0000	1.227
+++ swank.lisp	6 Sep 2004 03:15:30 -0000
@@ -905,7 +905,7 @@
 This is like defvar, but NAME will not initialized."
   `(progn
     (defvar ,name)
-    (setf (documentation ',name 'symbol) ',doc)))
+    (setf (documentation ',name 'variable) ,doc)))
 
 (define-special *buffer-package*     
     "Package corresponding to slime-buffer-package.  




More information about the slime-devel mailing list