X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-aclrepl%2FREADME;h=c848215dcc78337849acb4c10479c0d55c09f891;hb=09c00481c13d88f6694c7f8ba7222c5c62f39a9e;hp=a90a26cbdb82144ce2349be6138ff0875ca6a019;hpb=d36b416ae1fe7ba8a8d8e4ad7493458638028075;p=sbcl.git diff --git a/contrib/sb-aclrepl/README b/contrib/sb-aclrepl/README index a90a26c..c848215 100644 --- a/contrib/sb-aclrepl/README +++ b/contrib/sb-aclrepl/README @@ -7,12 +7,10 @@ debugger is planned. USAGE ===== -To start sb-aclrepl as your read-eval-print loop, you must -put the following command in your ~/.sbclrc. +To start sb-aclrepl as your read-eval-print loop, put the form (require 'sb-aclrepl) +in your ~/.sbclrc initialization file. -The reason for this is that, currently, sb-aclrepl must loaded before -SBCL's default REPL starts. EXAMPLE ~/.sbclrc FILE ====================== @@ -20,19 +18,19 @@ EXAMPLE ~/.sbclrc FILE (ignore-errors (require 'sb-aclrepl)) (when (find-package 'sb-aclrepl) - (push :aclrepl *features*)) - + (push :aclrepl cl:*features*)) #+aclrepl (progn (setq sb-aclrepl:*max-history* 100) - (setf (sb-aclrepl:alias "asdc") #'(lambda (sys) (asdf:oos 'asdf:load-op sys))) - (sb-aclrepl:alias "l" (sys) (asdf:oos 'asdf:load-op sys)) - (sb-aclrepl:alias "t" (sys) (asdf:oos 'asdf:test-op sys)) + (setf (sb-aclrepl:alias "asdc") + #'(lambda (sys) (asdf:operate 'asdf:compile-op sys))) + (sb-aclrepl:alias "l" (sys) (asdf:operate 'asdf:load-op sys)) + (sb-aclrepl:alias "t" (sys) (asdf:operate 'asdf:test-op sys)) ;; The 1 below means that two characaters ("up") are required (sb-aclrepl:alias ("up" 1 "Use package") (package) (use-package package)) ;; The 0 below means only the first letter ("r") is required, such as ":r base64" (sb-aclrepl:alias ("require" 0 "Require module") (sys) (require sys)) -) + (setq cl:*features* (delete :aclrepl cl:*features*))) Questions, comments, or bug reports should be sent to Kevin Rosenberg .