Skip to content

Move four cljs-only items from cider.el to cider-cljs.el#3904

Merged
bbatsov merged 1 commit into
masterfrom
extract-more-cljs
May 12, 2026
Merged

Move four cljs-only items from cider.el to cider-cljs.el#3904
bbatsov merged 1 commit into
masterfrom
extract-more-cljs

Conversation

@bbatsov
Copy link
Copy Markdown
Member

@bbatsov bbatsov commented May 10, 2026

Follow-up to #3903. Pulls four small cljs-only forms out of cider.el so cider-cljs.el is the single home for cljs concerns:

  • cider-offer-to-open-cljs-app-in-browser - toggle for the browser-opener that already lives in cider-cljs.el.
  • cider-connect-default-cljs-params - the cljs counterpart of cider-connect-default-params.
  • cider--update-cljs-type - tiny param updater that only touches cider-select-cljs-repl / cider-default-cljs-repl, both already in cider-cljs.el.
  • cider--with-cljs-jack-in-deps - macro that let-binds the cljs jack-in vars (which now live in cider-jack-in.el) for the duration of jack-in-cljs flows.

cider-cljs.el now requires cider-jack-in for the macro's references, and forward-declares cider--update-do-prompt (which stays in cider.el). 50 lines out of cider.el, 55 into cider-cljs.el.

  • Compiles clean with eldev compile --warnings-as-errors
  • All 547 tests pass (eldev test)
  • No CHANGELOG entry — pure refactor, no user-visible change

Follow-up to the cider-cljs.el extraction.  Pulls four small cljs-only
forms out of cider.el so cider-cljs.el is the single home for cljs
concerns:

- cider-offer-to-open-cljs-app-in-browser - the toggle for the
  browser-opener that already lives here.
- cider-connect-default-cljs-params - the cljs counterpart of
  cider-connect-default-params.
- cider--update-cljs-type - tiny param updater that only touches
  cider-select-cljs-repl / cider-default-cljs-repl, both already here.
- cider--with-cljs-jack-in-deps - macro that let-binds the cljs jack-in
  vars (defined in cider-jack-in.el) for the duration of jack-in-cljs
  flows.

cider-cljs.el now requires cider-jack-in for the macro's references,
and forward-declares cider--update-do-prompt (which stays in cider.el).
cider.el drops 50 lines, cider-cljs.el gains 55.
@bbatsov bbatsov merged commit 417eafa into master May 12, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant