Variable: cider-macrostep-mode
cider-macrostep-mode is a buffer-local variable defined in
cider-macrostep.el.
Documentation
Non-nil if Cider-Macrostep mode is enabled.
Use the command cider-macrostep-mode(var)/cider-macrostep-mode(fun) to change this variable.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-macrostep.el
(define-minor-mode cider-macrostep-mode
"Transient minor mode for stepping through macro expansions inline.
While active the buffer is read-only; expansions are layered as overlays and
removed when you collapse them or leave the mode.
\\{cider-macrostep-mode-map}"
:lighter " Macrostep"
(if cider-macrostep-mode
(progn
(setq cider-macrostep--saved-read-only buffer-read-only
buffer-read-only t)
;; remember any existing header line so we can restore it on exit
(setq cider-macrostep--saved-header-line
(if (local-variable-p 'header-line-format) header-line-format 'none))
(setq-local header-line-format '(:eval (cider-macrostep--header-line))))
(cider-macrostep--clear-expandable-overlays)
(cider-macrostep--clear-gensym-overlays)
(cider-macrostep--collapse-all-overlays)
(setq buffer-read-only cider-macrostep--saved-read-only)
(if (eq cider-macrostep--saved-header-line 'none)
(kill-local-variable 'header-line-format)
(setq-local header-line-format cider-macrostep--saved-header-line))))