Commit 91a40a2c authored by Bogdan Popa's avatar Bogdan Popa

use newline literals instead of actual newlines in import regexp

parent 87e1dedb
......@@ -497,8 +497,7 @@ Import consists of the word \"import\", real package name, and optional
(imports (mapcar 'first
(s-match-strings-all elm-import--pattern text))))
(kill-region beg end)
(insert (s-join "
" (sort imports 'string<))))))
(insert (s-join "\n" (sort imports 'string<))))))
;;;###autoload
(defun elm-compile-add-annotations (&optional prompt)
......
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