clang-format to format the buffer when saving, I find this functionality useful.
Are there tools to reformat an Elisp buffer when saving?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.Sign up to join this community
Since asking this question I've written an auto-formatter that runs on save.
Other elisp formatting tools I found caused a *lot* of right-shift and didn't seem well maintained.
This can be configured to run for some projects and not others.
While this runs on save, it first checks for
.elisp-autofmt before re-formatting the buffer.