Function: cider--debug-skip-discarded-forms

cider--debug-skip-discarded-forms is a byte-compiled function defined in cider-debug.el.

Signature

(cider--debug-skip-discarded-forms)

Documentation

Skip past all forms discarded with the #_ reader macro.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-debug.el
(defun cider--debug-skip-discarded-forms ()
  "Skip past all forms discarded with the #_ reader macro."
  (while (looking-at (concat "[ ,\r\t\n]*" cider-debug--comment-macro-regexp))
    (let ((md (match-data))
          (start (match-beginning 1)))
      (goto-char start)
      ;; Count how many #_ we got and step by that many sexps
      (clojure-forward-logical-sexp
       (count-matches (rx "#_") (elt md 0) (elt md 1))))))