summaryrefslogtreecommitdiff
path: root/vim/bundle/slimv/swank-clojure/swank/commands/contrib.clj
blob: 6c0ed076e31ecf6338f4872e6e88288ea012ee98 (plain)
1
2
3
4
5
6
7
8
9
(ns swank.commands.contrib
  (:use (swank util core commands)))

(defslimefn swank-require [keys]
  (binding [*ns* (find-ns 'swank.commands.contrib)]
    (doseq [k (if (seq? keys) keys (list keys))]
      (try
       (require (symbol (str "swank.commands.contrib." (name k))))
       (catch java.io.FileNotFoundException fne nil)))))