Klimi's new dotfiles with stow.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

37 строки
1.0 KiB

5 лет назад
  1. ;;; -*- lisp -*-
  2. ;; ASDF system definition for loading the Swank server independently
  3. ;; of Emacs.
  4. ;;
  5. ;; This is only useful if you want to start a Swank server in a Lisp
  6. ;; processes that doesn't run under Emacs. Lisp processes created by
  7. ;; `M-x slime' automatically start the server.
  8. ;; Usage:
  9. ;;
  10. ;; (require :swank)
  11. ;; (swank:create-swank-server PORT) => ACTUAL-PORT
  12. ;;
  13. ;; (PORT can be zero to mean "any available port".)
  14. ;; Then the Swank server is running on localhost:ACTUAL-PORT. You can
  15. ;; use `M-x slime-connect' to connect Emacs to it.
  16. ;;
  17. ;; This code has been placed in the Public Domain. All warranties
  18. ;; are disclaimed.
  19. (defpackage :swank-loader
  20. (:use :cl))
  21. (in-package :swank-loader)
  22. (defclass swank-loader-file (asdf:cl-source-file) ())
  23. ;;;; after loading run init
  24. (defmethod asdf:perform ((o asdf:load-op) (f swank-loader-file))
  25. (load (asdf::component-pathname f))
  26. (funcall (read-from-string "swank-loader::init") :reload t))
  27. (asdf:defsystem :swank
  28. :default-component-class swank-loader-file
  29. :components ((:file "swank-loader")))