Skip to content

Commit 5e4e627

Browse files
committed
Move docstrings to before interactive decls.
1 parent 44228b9 commit 5e4e627

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

haskell-cabal.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,8 @@ OTHER-WINDOW use `find-file-other-window'."
347347
)
348348

349349
(defun haskell-cabal-section-end ()
350-
(interactive)
351350
"Find the end of the current section"
351+
(interactive)
352352
(save-excursion
353353
(if (re-search-forward "\n\\([ \t]*\n\\)*[[:alnum:]]" nil t)
354354
(match-beginning 0)

haskell-sort-imports.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@
3838

3939
;;;###autoload
4040
(defun haskell-sort-imports ()
41-
(interactive)
4241
"Sort the import list at point. It sorts the current group
4342
i.e. an import list separated by blank lines on either side.
4443
4544
If the region is active, it will restrict the imports to sort
4645
within that region."
46+
(interactive)
4747
(when (haskell-sort-imports-at-import)
4848
(let* ((points (haskell-sort-imports-decl-points))
4949
(current-string (buffer-substring-no-properties (car points)

0 commit comments

Comments
 (0)