Thanks to visit codestin.com
Credit goes to github.com

Skip to content

-emacs-elixir-format.ex files left behind when using format hook #497

@J3RN

Description

@J3RN

I'm surprised this hasn't been reported before as I've seen coworkers gripe about this.

When using before-save-hook to run elixir-format, like so:

(add-hook 'before-save-hook 'elixir-format nil 'local)

If the formatting fails, an <original_name>-emacs-elixir-format.ex file is left in the same directory as the file for which formatting was attempted. For whatever reason, this does not appear to happen when elixir-format is invoked manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions