Commit 750bb9ce authored by Bogdan Popa's avatar Bogdan Popa

fix elm-sort-imports regex

parent 2f7f0c3e
......@@ -443,10 +443,10 @@ Runs `elm-reactor' first."
(goto-char (point-min))
(re-search-forward "^import" nil t)
(re-search-forward "^import " nil t)
(let ((beg (point))
(_ (while (re-search-forward "^import" nil t) (end-of-line)))
(_ (while (re-search-forward "^import " nil t) (end-of-line)))
(end (point)))
(sort-lines nil beg end))))
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