technomancy/clojure-mode — pull request #76 by kototama (2012-04-25 15:45:06+00:00)
Title: Bug fix for clojure-insert-ns-form and new clojure-update-ns function

As mentioned previously in my mail this is my request to merge a new clojure-update-ns function. The function updates the clojure namespace of the buffer according to its path on the filesystem. This is useful when renaming or moving clojure files on the filesystem.

I also noticed a bug in the clojure-insert-ns-form which does not perform as expected when creating a ns for a file located under the test directory. This is fixed by using the clojure-expected-ns function (which is also used by clojure-update-ns).