[Top][All Lists]

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

Re: indenting java code

From: Andrew Taylor
Subject: Re: indenting java code
Date: Tue, 04 Nov 2003 00:10:56 GMT
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6a) Gecko/20031030

Lowell Kirsh wrote:

How can I change the indent level for Java code from 4 spaces to 2 spaces?

(add-hook 'java-mode-hook
          (lambda ()
            (set 'c-basic-offset 2)))


reply via email to

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