1.2.0 permalink Arrow_down_16x16

with-package-tracking

swank.core

  • (with-package-tracking & 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/core.clj:39 top

(defmacro with-package-tracking [& body]
  `(let [last-ns# *ns*]
     (try
      ~@body
      (finally
       (when-not (= last-ns# *ns*)
         (send-to-emacs `(:new-package ~(str (ns-name *ns*))
                                       ~(str (ns-name *ns*)))))))))
Vars in swank.core/with-package-tracking: defmacro *ns* = apply concat let list ns-name seq str vector when-not
Used in 0 other vars

Comments top

No comments for with-package-tracking. Log in to add a comment.