|
From: | Campbell Barton |
Subject: | Re: Emacs Lisp code formatting |
Date: | Wed, 3 Nov 2021 10:31:06 +1100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 |
On 11/3/21 02:27, Lars Ingebrigtsen wrote:
I've always assumed that Emacs has a function for pretty-printing Emacs Lisp -- and it's just that I haven't found it. `pp' indents sexps nicely, but it doesn't format code in any way a human would. Doesn't Emacs have a pretty-printer for code?
As far as I know, Emacs doesn't include this built-in. There are a handful of 3rd party lisp formatting tools [0], though, YMMV. [0]: https://emacs.stackexchange.com/a/55759/2418
[Prev in Thread] | Current Thread | [Next in Thread] |