defslimefn

swank.commands

  • (defslimefn fname & body)

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/commands.clj:5 top

(defmacro defslimefn
  ([fname & body]
     `(alter-var-root #'slime-fn-map
                      assoc
                      (symbol "swank" ~(name fname))
		      (defn ~fname ~@body)))
  {:indent 'defun})
Vars in swank.commands/defslimefn: defmacro name alter-var-root assoc concat defn list seq symbol
Used in 0 other vars

Comments top

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