Commit 5331ef8a authored by Tom Tromey's avatar Tom Tromey

make js.el respect prog-first-column

* lisp/progmodes/js.el (js--proper-indentation): Call prog-first-column.
parent 473a4201
......@@ -53,6 +53,7 @@
(require 'moz nil t)
(require 'json nil t)
(require 'sgml-mode)
(require 'prog-mode)
(require 'cl-lib)
......@@ -2125,7 +2126,7 @@ indentation is aligned to that column."
(+ js-indent-level js-expr-indent-offset))
(t 0))))
(t (prog-first-column)))))
;;; JSX Indentation
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment