Function: cider-doctor--check-obsolete-config

cider-doctor--check-obsolete-config is a byte-compiled function defined in cider-doctor.el.

Signature

(cider-doctor--check-obsolete-config)

Documentation

Detect obsolete CIDER variables the user still has customized.

Leftover deprecated settings are a frequent cause of upgrade surprises.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-doctor.el
(defun cider-doctor--check-obsolete-config ()
  "Detect obsolete CIDER variables the user still has customized.
Leftover deprecated settings are a frequent cause of upgrade surprises."
  (let (found)
    (mapatoms
     (lambda (sym)
       (when (and (get sym 'byte-obsolete-variable)
                  (get sym 'saved-value)
                  (string-match-p "\\`\\(cider\\|nrepl\\)-" (symbol-name sym)))
         (push sym found))))
    (if found
        (cider-doctor--result 'warn
                              (format "%d obsolete option(s) still customized" (length found))
                              :detail (mapconcat #'symbol-name (sort found #'string<) ", ")
                              :hint "Migrate these to their replacements; see each variable's docstring.")
      (cider-doctor--result 'ok "No obsolete options customized"))))