Skip to content

Add negative prefix to cider-refresh for refresh only #1893

@expez

Description

@expez

Most of the time I want cider-refresh to call cider-refresh-before-fn and cider-refresh-after-fn but sometimes I only want the refresh. I've been using advice to add a negative arity branch to cider-refresh and it's pretty nice.

P.S. I've never been in a situation where I wanted to run before-fn or after-fn only so this won't lead to an explosion in hard to remember prefixes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions