diff options
Diffstat (limited to 'dev-lisp/cmucl/files/19a/site-init.lisp.in')
-rw-r--r-- | dev-lisp/cmucl/files/19a/site-init.lisp.in | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/dev-lisp/cmucl/files/19a/site-init.lisp.in b/dev-lisp/cmucl/files/19a/site-init.lisp.in new file mode 100644 index 000000000000..ad145414ca43 --- /dev/null +++ b/dev-lisp/cmucl/files/19a/site-init.lisp.in @@ -0,0 +1,58 @@ +;;; -*- Mode: Lisp; Package: System -*- +;;; +;;; ********************************************************************** +;;; This code was written as part of the CMU Common Lisp project at +;;; Carnegie Mellon University, and has been placed in the public domain. +;;; + +;;; Heavy modifications by Peter Van Eynde + +;;; More modifications for Gentoo by Matthew Kennedy +;;; <mkennedy@gentoo.org> + +(in-package "SYSTEM") + +(if (probe-file "/etc/lisp-config.lisp") + (load "/etc/lisp-config.lisp") + (format t "~%;;; Warning: There is no /etc/lisp-config.lisp file (which should have been created during emerge")) + +;;; If you have sources installed on your system, un-comment the following form +;;; and change it to point to the source location. This will allow the Hemlock +;;; "Edit Definition" command and the debugger to find sources for functions in +;;; the core. +(setf (ext:search-list "target:") + '( + "/usr/share/common-lisp/source/cmucl/" ; object dir + )) + +(setf (ext:search-list "library:") '("/usr/lib/cmucl/")) +;;; for safety... + +;;; optional extentions to the lisp image: delete if you +;;; don't like them :-). +(in-package :common-lisp-user) + +;;; newbie functions, delete if you don't like them + +(defun help () + (format t "~ +Welcome to the Gentoo GNU/Linux port of CMUCL. + +If you aren't running this with ILISP (see: app-emacs/ilisp or +app-xemacs/ilisp) in Emacs, or don't intend to use Hemlock +(see: dev-lisp/cmucl-source) then you deserve to lose. :-) + +The CMUCL REPL does not have GNU Readline-like support, however +you may wish to install rlwap (see: app-misc/rlwrap) to achieve +the same effect. + +If you think you found a bug, please use http://bugs.gentoo.org + +Read the documentation in /usr/share/doc/@PF@. + +(quit) exit Lisp +(describe 'foo) gives information about foo +(inspect '*foo*) interactively inspects *foo* +(apropos \"foo\") briefly describe all symbols which match \"foo\" +")) + |