emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master d03ec1c: Fix test/indent/js.js


From: Dmitry Gutov
Subject: [Emacs-diffs] master d03ec1c: Fix test/indent/js.js
Date: Sun, 08 Mar 2015 18:30:43 +0000

branch: master
commit d03ec1cf1662e3dc911439f09e64e8a5a3754832
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Fix test/indent/js.js
    
    * test/indent/js.js: Set `js-indent-level' to 2. Fix indentation in an
    example.
---
 test/ChangeLog    |    5 +++++
 test/indent/js.js |    4 +++-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/test/ChangeLog b/test/ChangeLog
index a9c20f6..92ce4b6 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-08  Dmitry Gutov  <address@hidden>
+
+       * indent/js.js: Set `js-indent-level' to 2. Fix indentation in an
+       example.
+
 2015-03-04  Michael Albinus  <address@hidden>
 
        * automated/tramp-tests.el (top): Declare `tramp-get-remote-stat'
diff --git a/test/indent/js.js b/test/indent/js.js
index d330fa0..f41849d 100644
--- a/test/indent/js.js
+++ b/test/indent/js.js
@@ -1,3 +1,5 @@
+// -*- js-indent-level: 2 -*-
+
 var a = 1;
 b = 2;
 
@@ -9,7 +11,7 @@ var e = 100500,
 
 function test ()
 {
-     return /[/]/.test ('/')     // (bug#19397)
+  return /[/]/.test ('/')     // (bug#19397)
 }
 
 var f = bar('/protocols/')



reply via email to

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