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

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

bug#15956: 24.3.50; js.el: Indentation for control statements


From: Mihir Rege
Subject: bug#15956: 24.3.50; js.el: Indentation for control statements
Date: Sat, 23 Nov 2013 03:44:39 +0530

Hi, 

If a control statement is the first statement in the source but is not on the first line, the indentation keeps on increasing with each call.

For example:

---------------------------
//comment
if ( cond )
---------------------------

will indent to 

---------------------------
//comment
        if (cond)
---------------------------

I have enclosed a patch that fixes the problem.


--
Mihir Rege

Attachment: 0001-Fix-indentation-for-control-statements.patch
Description: Text Data


reply via email to

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