1.2.0 permalink Arrow_down_16x16

start-server

swank.swank

  • (start-server port-file & opts)
Start the server and write the listen port number to
PORT-FILE. This is the entry point for Emacs.

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 swank/swank.clj:48 top

(defn start-server
  "Start the server and write the listen port number to
   PORT-FILE. This is the entry point for Emacs."
  [port-file & opts]
  (let [opts (apply hash-map opts)]
    (setup-server (get opts :port 0)
                  (fn announce-port [port]
                    (announce-port-to-file port-file port)
                    (simple-announce port))
                  connection-serve
                  opts)))
Vars in swank.swank/start-server: defn fn get let
Used in 0 other vars

Comments top

No comments for start-server. Log in to add a comment.