[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getting the same indentation as flet
From: |
Nic Ferrier |
Subject: |
Re: getting the same indentation as flet |
Date: |
Mon, 03 Jun 2013 08:31:02 +0100 |
Stefan Monnier <address@hidden> writes:
> The `flet' indentation specification is: 1
> So you can just use that, as in
>
> (defmacro my-flet (blabla)
> (declare (indent 1))
> ...)
That isn't the flet specification. It may be the cl-flet specification
but the flet specification I have is:
(lisp-indent-function 1 edebug-form-spec cl-flet
byte-obsolete-info ("use either `cl-flet' or `cl-letf'." nil "24.3")
common-lisp-indent-function
((&whole 4 &rest (&whole 1 &lambda &body)) &body))
I guess that's because I've configured common-lisp indent functionality
but I think the elisp one is similarly good.
cl-flet has no identation. That's just another reason that cl-flet is
not very good.
Nic