Function: cider-ns-edit--sort

cider-ns-edit--sort is a byte-compiled function defined in cider-ns.el.

Signature

(cider-ns-edit--sort NS-START)

Documentation

Sort the libspecs in the ns form at NS-START.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20261106.1225/cider-ns.el
(defun cider-ns-edit--sort (ns-start)
  "Sort the libspecs in the ns form at NS-START."
  ;; `clojure-sort-ns' moves with the syntax table (under clojure-ts-mode
  ;; `forward-sexp-function' would take over), sorts the ns form above
  ;; point, and reads the match data of a fresh `clojure-find-ns' search,
  ;; which the ns cache would skip.
  (let ((forward-sexp-function nil)
        (clojure-cache-ns nil)
        (inhibit-message t)
        (message-log-max nil))
    (save-excursion
      (goto-char (1+ ns-start))
      (clojure-sort-ns))))