Commit b75ecde7 authored by Helmut Eller's avatar Helmut Eller

Emit a warning if the SWANK package already exists.

* swank-loader.lisp (init): Issue a warning when SWANK will not be
reloaded.
parent f7fd4895
2008-02-20 Helmut Eller <heller@common-lisp.net>
Emit a warning if the SWANK package already exists.
* swank-loader.lisp (init): Issue a warning when SWANK will not be
reloaded.
2008-02-18 Helmut Eller <heller@common-lisp.net>
Minor cleanups for inspector code.
* swank.lisp (inspector-content, inspect-list-aux): Slight
cleanups.
2008-02-17 Marco Baringer <mb@bese.it>
* swank.asd: Update for recent changes to swank-loader.lisp, we
......
;;;; -*- Mode: lisp; indent-tabs-mode: nil -*-
;;;; -*- indent-tabs-mode: nil -*-
;;;
;;; swank-loader.lisp --- Compile and load the Slime backend.
;;;
......@@ -226,6 +226,8 @@ If LOAD is true, load the fasl file."
(defun init (&key delete reload)
(when (and delete (find-package :swank))
(mapc #'delete-package '(:swank :swank-io-package :swank-backend)))
(when (or (not (find-package :swank)) reload)
(load-swank))
(cond ((or (not (find-package :swank)) reload)
(load-swank))
(t
(warn "Not reloading SWANK. Package already exists.")))
(setup))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment