Function: cider-get-ns-name
cider-get-ns-name is a byte-compiled function defined in
cider-util.el.
Signature
(cider-get-ns-name)
Documentation
Return the current namespace in the buffer, suppressing any errors.
Uses clojure-ts-find-ns when the buffer is in clojure-ts-mode,
otherwise falls back to clojure-find-ns.
Therefore, possibly returns nil, so please handle that value from any callsites.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-util.el
(defun cider-get-ns-name ()
"Return the current namespace in the buffer, suppressing any errors.
Uses `clojure-ts-find-ns' when the buffer is in `clojure-ts-mode',
otherwise falls back to `clojure-find-ns'.
Therefore, possibly returns nil, so please handle that value from any callsites."
(if (and (cider-clojure-ts-mode-p)
(fboundp 'clojure-ts-find-ns))
(clojure-ts-find-ns)
(clojure-find-ns :supress-errors)))