purcell / emacs-reformatter

Define commands which run reformatters on the current Emacs buffer
265 stars 21 forks source link

Make customizable success exit code #22

Closed kzkn closed 4 years ago

kzkn commented 4 years ago

Make customizable success exit code for the PROGRAM is succeeded or not. One of Ruby's formatters, rufo , outputs 3 as exit code when a file is changed. My change is to treat this as a success in reformatter.el.

purcell commented 4 years ago

Thanks for this -- I think I prefer the more flexible approach in #23. Please could you take a look and see that would work for you?

kzkn commented 4 years ago

@purcell Thanks. It is good for me!

purcell commented 4 years ago

Great, I have merged #23. Thanks for your help!