From 28feabb42eea393d26c640470574bca65e6cbfa1 Mon Sep 17 00:00:00 2001
From: Raymond Toy <toy.raymond@gmail.com>
Date: Sun, 29 Jan 2017 08:49:59 -0800
Subject: [PATCH] Update docstring for REQUIRE

Include a list of the builtin modules supported by cmucl to the
docstring.
---
 src/code/module.lisp | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/src/code/module.lisp b/src/code/module.lisp
index 6e0735a87..7bed90d09 100644
--- a/src/code/module.lisp
+++ b/src/code/module.lisp
@@ -91,7 +91,17 @@
   calling PROVIDE to indicate a successful load of the module.
 
   While loading any files, *load-verbose* is bound to *require-verbose*
-  which defaults to t."
+  which defaults to t.
+
+  The predefined modules included are :defsystem, :asdf, :lisp-unit,
+  :unix, :clx, :clm, :hemlock, and :cmu-contribs.
+
+  The module :cmu-contribs differs from the other modules in that
+  requiring this module only defines the following modules:
+  \"contrib-demos\", \"contrib-follow-mouse\",
+  \"contrib-games-feebs\", \"contrib-hist\", \"contrib-psgraph\",
+  \"contrib-ops\", \"contrib-embedded-c\", \"contrib-sprof\", and
+  \"contrib-packed-sse2\". "
   (let ((saved-modules (copy-list *modules*))
         (module-name (module-name-string module-name)))
     (unless (member module-name *modules* :test #'string=)
-- 
GitLab