A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://lists.gnu.org/archive/html/emacs-devel/2022-11/msg01487.html below:

Re: Indent lisp files on save -- How?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] 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?



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4