Function: clojure-toggle-ignore-surrounding-form

clojure-toggle-ignore-surrounding-form is an interactive and byte-compiled function defined in clojure-mode.el.

Signature

(clojure-toggle-ignore-surrounding-form &optional ARG)

Documentation

Toggle the #_ ignore reader form for the surrounding form at point.

With optional ARG, move up by ARG surrounding forms first. With universal argument C-u (universal-argument), act on the "top-level" form.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/clojure-mode-20260325.811/clojure-mode.el
(defun clojure-toggle-ignore-surrounding-form (&optional arg)
  "Toggle the #_ ignore reader form for the surrounding form at point.
With optional ARG, move up by ARG surrounding forms first.
With universal argument \\[universal-argument], act on the \"top-level\" form."
  (interactive "P")
  (save-excursion
    (if (consp arg)
        (clojure-toggle-ignore-defun)
      (condition-case nil
          (backward-up-list arg t t)
        (scan-error nil)))
    (clojure--toggle-ignore-next-sexp)))