[Top][All Lists]

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

Re: Indentation of cond forms in (Emacs) Lisp mode

From: Andreas Schwab
Subject: Re: Indentation of cond forms in (Emacs) Lisp mode
Date: Tue, 03 Jun 2014 16:22:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

"Bozhidar Batsov" <address@hidden> writes:

> I noticed that `cond' forms in Emacs Lisp mode and Lisp mode are indented
> with just one space, unlike most other "control" structures:
> (cond
>  ((x) (y))
>  (t (z))
> Why is that?

The intention is that you do not break after cond, so it isn't treated
specially, ie. like a normal function call.


Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

reply via email to

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