[Top][All Lists]

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

Re: inferior-lisp mode indenting problem

From: Jesper Harder
Subject: Re: inferior-lisp mode indenting problem
Date: Fri, 15 Aug 2003 01:30:38 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Lowell <address@hidden> writes:

> The auto-indenting of 'if' clauses in inferior-lisp mode is not
> working properly. It does:
> (if test
>      then
>    else)

This is the way `if' should be indented in Lisp.

> but it should do:
> (if test
>      then
>      else)
> How can I change it?

(put 'if 'lisp-indent-function 0) will get you:

(if test

But beware that most other people reading your code will find this
style annoying.

reply via email to

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