Skip to content

Commit 2cc59e9

Browse files
committed
Document the new clojure-find-ns behaviour
1 parent 15e6ea8 commit 2cc59e9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clojure-mode.el

+3-1
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,9 @@ Useful if a file has been renamed."
10921092
(error "Namespace not found")))))))
10931093

10941094
(defun clojure-find-ns ()
1095-
"Find the namespace of the current Clojure buffer."
1095+
"Return the namespace of the current Clojure buffer.
1096+
Return the namespace closest to point and above it. If there are
1097+
no namespaces above point, return the first one in the buffer."
10961098
(save-excursion
10971099
(save-restriction
10981100
(widen)

0 commit comments

Comments
 (0)