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

37 рядки
1.0 KiB

4 роки тому
  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")))