spring-actuator.el
changeset 1487 d22fade5ae5c
parent 1485 ba6632e1f2f8
child 1491 4a9d4d14b87d
--- a/spring-actuator.el	Mon Feb 20 15:56:22 2017 +0200
+++ b/spring-actuator.el	Mon Feb 20 16:04:49 2017 +0200
@@ -22,4 +22,7 @@
     (delete-region (point-min) (point))
     (json-pretty-print-buffer)
     (goto-char (point-min))
-    (json-mode) ))
+    (if (fboundp 'json-mode)
+        (json-mode)
+      (js-mode))
+    (setq-local js-indent-level 2)))