emacs-devel
[Top][All Lists]
Advanced

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

Re: getting the same indentation as flet


From: Stefan Monnier
Subject: Re: getting the same indentation as flet
Date: Mon, 03 Jun 2013 04:55:12 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> 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))

"lisp-indent-function 1" is the part that affects Elisp indentation.

> I  guess that's because I've configured common-lisp indent functionality
> but I  think the elisp one is similarly good.

"common-lisp-indent-function ((&whole 4 &rest (&whole 1 &lambda &body)) &body)"
is the part that affects cl-indent, IIUC, indeed.

> cl-flet has no identation. That's just another reason that cl-flet is
> not very good.

Patches welcome,


        Stefan



reply via email to

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