Skip to content

Commit

Permalink
purescript-sort-imports.el: make sure (interactive) is after docstring
Browse files Browse the repository at this point in the history
Fixes:
    purescript-sort-imports.el:41:4: Error: Doc string after ‘interactive’
  • Loading branch information
Hi-Angel committed Sep 30, 2024
1 parent 8ddaba1 commit b3bfeaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion purescript-sort-imports.el
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@

;;;###autoload
(defun purescript-sort-imports ()
(interactive)
"Sort the import list at point. It sorts the current group
i.e. an import list separated by blank lines on either side.
If the region is active, it will restrict the imports to sort
within that region."
(interactive)
(when (purescript-sort-imports-at-import)
(let* ((points (purescript-sort-imports-decl-points))
(current-string (buffer-substring-no-properties (car points)
Expand Down

0 comments on commit b3bfeaa

Please sign in to comment.