author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 20 Feb 2017 16:04:49 +0200 | |
changeset 1487 | d22fade5ae5c |
parent 1486 | cf1175a9cd7b |
child 1488 | 8da1fc103e49 |
--- 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)))