[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: correct indentation for flet and labels macros
From: |
Andreas Schwab |
Subject: |
Re: correct indentation for flet and labels macros |
Date: |
Tue, 31 Aug 2004 11:44:18 +0200 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Suraj Acharya <address@hidden> writes:
> The latter is the behavior is would get from let, but since the arguments
> are special for flet and labels it would be nice the former. How does
> defun get its special indentation for example ?
Just by virtue of being named starting with "def". See
lisp-indent-function, which calls lisp-indent-defform in this case. But
the function responsible for indenting flet is lisp-indent-specform,
because flet has a lisp-indent-function property with an integer value.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."