Skip to content

cider-repl-set-ns can fail to work in cljs repl when cider-repl-require-ns-on-set is t #2993

@tomdl89

Description

@tomdl89

Expected behavior

cider-repl-set-ns sets the ns in cljs repl when cider-repl-require-ns-on-set is t

Actual behavior

cider-repl-set-ns sets the ns in cljs repl only when cider-repl-require-ns-on-set is nil

Steps to reproduce the problem

set cider-repl-require-ns-on-set to t and try to do cider-repl-set-ns in cljs buffer or repl

Environment & Version information

clj & cljs project in Emacs 27

CIDER version information

Master

thheller noted that require and in-ns are speical forms in cljs, so can't be wrapped in do (as they are in the current code)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions