• (swank project port host & opts)
  • (swank project port)
  • (swank project)
Launch swank server for Emacs to connect. Optionally takes PORT and HOST.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source leiningen/swank.clj:4 top

(defn swank
  "Launch swank server for Emacs to connect. Optionally takes PORT and HOST."
  ([project port host & opts]
     (eval-in-project project
                      `(do (require '~'swank.swank)
                           (@(ns-resolve '~'swank.swank '~'start-repl)
                            (Integer. ~port)
                            ~@(concat (map read-string opts)
                                      [:host host])))))
  ([project port] (swank project port "localhost"))
  ([project] (swank project 4005)))
Vars in leiningen.swank/swank: concat defn map read-string deref list ns-resolve require seq
Used in 0 other vars

Comments top

No comments for swank. Log in to add a comment.