X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcode%2Ftoplevel.lisp;h=f5190028b4490a9d3fa4b4e56601f1460377dc1d;hb=d3af5593ffff1c39a2f8fa8113704803f347e22f;hp=0868844ad82e64b6d1b1739742cb72695b1fb62a;hpb=ad4fd20de698fe853fb8aec3d49e51e369771b31;p=sbcl.git diff --git a/src/code/toplevel.lisp b/src/code/toplevel.lisp index 0868844..f519002 100644 --- a/src/code/toplevel.lisp +++ b/src/code/toplevel.lisp @@ -297,7 +297,10 @@ any non-negative real number." (handling-end-of-the-world (with-open-file (f pathname :element-type :default) (sb!fasl::maybe-skip-shebang-line f) - (load f :verbose nil :print nil) + ;; Scripts don't need to be stylish or fast, but silence is usually a + ;; desirable quality... + (handler-bind (((or style-warning compiler-note) #'muffle-warning)) + (load f :verbose nil :print nil)) (quit))))) ;; Errors while processing the command line cause the system to QUIT,