From a0d3af16271b6c5c8baab602c8181eb40e6315fb Mon Sep 17 00:00:00 2001
From: toy <toy>
Date: Tue, 20 Aug 2002 14:06:13 +0000
Subject: [PATCH] If a symbol names a type specifier, have DESCRIBE say so.

From Eric Marsden.
---
 code/describe.lisp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/code/describe.lisp b/code/describe.lisp
index 7bc039268..8ea24a58b 100644
--- a/code/describe.lisp
+++ b/code/describe.lisp
@@ -5,7 +5,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/describe.lisp,v 1.35 2001/03/14 23:23:48 pw Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/describe.lisp,v 1.36 2002/08/20 14:06:13 toy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -433,6 +433,10 @@
     (format t "~&It names a class ~A." (find-class x))
     (describe (find-class x)))
   ;;
+  ;; Print out information about any types named by the symbol
+  (when (eq (info type kind x) :defined)
+    (format t "~&It names a type specifier."))
+  ;;
   ;; Print out properties, possibly ignoring implementation details.
   (do ((plist (symbol-plist X) (cddr plist)))
       ((null plist) ())
-- 
GitLab