help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: indenting lisp macro code


From: Daniel Jensen
Subject: Re: indenting lisp macro code
Date: Sat, 19 Jul 2003 08:06:21 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Lowell <lkirsh@cs.ubc.ca> writes:

> I am having trouble getting emacs to properly indent code representing
> lisp macros.

[snip]

> The ideal solution IMO would be to have a way of telling emacs which
> keywords should be indented like a 'let' so that emacs will realize
> they are not functions. This is how it is done in DrScheme.

Yes, and it is possible in Emacs too. This should do what you want:

  (put 'let1 'lisp-indent-function 1)

-- 
Daniel Jensen
Editing is a rewording activity.


reply via email to

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