From b3bfeaa6a663bf3046837ce941ec77f3cc410a48 Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Mon, 30 Sep 2024 10:14:49 +0300 Subject: [PATCH] purescript-sort-imports.el: make sure (interactive) is after docstring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: purescript-sort-imports.el:41:4: Error: Doc string after ‘interactive’ --- purescript-sort-imports.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/purescript-sort-imports.el b/purescript-sort-imports.el index d46cecb..a1374ca 100644 --- a/purescript-sort-imports.el +++ b/purescript-sort-imports.el @@ -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)