[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Indent lisp files on save -- How?
From: |
Eli Zaretskii |
Subject: |
Re: Indent lisp files on save -- How? |
Date: |
Wed, 23 Nov 2022 14:47:48 +0200 |
> From: Matt Armstrong <matt@rfc20.org>
> Date: Tue, 22 Nov 2022 21:47:43 -0800
>
> "T.V Raman" <raman@google.com> writes:
>
> > I'm somewhat surprized I've never setup the above for emacs-lisp or
> > Common-Lisp in all these years.
>
> For Emacs Lisp, I don't think there is a good "format on save"
> implementation.
It should be easy to define a before-save-hook that would run indent-region
on the entire buffer. Would that be a useful solution?