From: Christophe J. <cj...@il...> - 2005-02-22 13:12:48
|
Using javascript-mode.el from XEmacs prog-mode based on cc-mode I get the following indentation for a JavaScript File (latest version for each of them): function Test() { } Test.prototype = new Object(); Test.prototype.run = function() { } Test.prototype.sec = function() { } Test.prototype.third = function() { } Using C-c C-s I see that opening parenthesis are (defun-open) but closing ones are (brace-list-close) while I would expect (defun-close). I guess this the origin of the problem? This looks like a bug? Or maybe I missed something? Thanks for any help. -- Christophe |