emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Some improvements for cl-flet


From: João Távora
Subject: Re: [PATCH] Some improvements for cl-flet
Date: Fri, 24 Sep 2021 08:11:52 +0100

Can I add my 2c here, since we're talking about cl-flet?

cl-flet is near to useless in elisp for a silly reason: indentation.
I end up doing

(let ((bla (lambda (x)
             (* x x))))
  ...
  (funcall bla 42)
  ...)

Because that has correct indentation.  This is useless,
especially with longer local function names.  Same with cl-labels
of course.

(cl-flet ((bla (x)
               (* x x)))
  ...
  (bla 42)
  ...)

I so very wish _that_ could be addressed,  Akater :-)

João



reply via email to

[Prev in Thread] Current Thread [Next in Thread]