diff --git a/src/refactor_nrepl/ns/pprint.clj b/src/refactor_nrepl/ns/pprint.clj index f29cebf..b335846 100644 --- a/src/refactor_nrepl/ns/pprint.clj +++ b/src/refactor_nrepl/ns/pprint.clj @@ -153,7 +153,7 @@ forms (cond (and docstring? attrs?) (nthrest more 2) (not (or docstring? attrs?)) more :else (rest more)) - ns-meta (:top-level-meta (meta ns-form))] + ns-meta (apply dissoc (:top-level-meta (meta ns-form)) (keys attrs?))] (-> (with-out-str (printf "(ns ") (when (seq ns-meta) (pprint-meta ns-meta :newlines true))