emacs-devel
[Top][All Lists]
Advanced

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

Re: cl-functions do not honor common-lisp-indent-function


From: Stefan Monnier
Subject: Re: cl-functions do not honor common-lisp-indent-function
Date: Mon, 24 Dec 2012 11:18:48 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> Hi, some cl-functions are not indented correctly when
> `lisp-indent-function' is set to `common-lisp-indent-function'

> --8<---------------cut here---------------start------------->8---
> (setq lisp-indent-function 'common-lisp-indent-function)

> (defun foo ()
>   (cl-flet ((test ()
>                   (ignore)))
>     (test)))

> (defun foo ()
>   (flet ((test ()
>            (ignore)))
>     (test)))
> --8<---------------cut here---------------end--------------->8---

> is this wanted?

No, but it's not a surprise either, since `cl-flet' is not defined in
common-lisp ;-).


        Stefan



reply via email to

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