Skip to content

Commit cfe5c6e

Browse files
committed
Code cleanup
1 parent d46d5e9 commit cfe5c6e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

haskell-indentation.el

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@
5252
(defcustom haskell-indentation-show-indentations nil
5353
"If t the current line's indentation points will be showed as
5454
underscore overlays in new haskell-mode buffers. Use
55-
`haskell-indentation-enable-show-indentations' and `haskell-indentation-disable-show-indentations'
56-
to switch the behavior for already existing buffers."
55+
`haskell-indentation-enable-show-indentations' and
56+
`haskell-indentation-disable-show-indentations' to switch the
57+
behavior for already existing buffers."
5758
:type 'boolean
5859
:group 'haskell-indentation)
5960

@@ -663,7 +664,7 @@ the current buffer."
663664
(defun haskell-indentation-declaration-layout ()
664665
(haskell-indentation-layout #'haskell-indentation-declaration))
665666

666-
;; a layout list with case expressions
667+
;; a layout list with case expressions
667668
(defun haskell-indentation-case-layout ()
668669
(haskell-indentation-layout #'haskell-indentation-case))
669670

@@ -912,7 +913,7 @@ the current buffer."
912913
(throw 'parse-end nil))
913914

914915
;; after an 'open' expression such as 'if', exit
915-
(unless (member (car parser) '("(" "[" "{" "do" "case"))
916+
(unless (member (car parser) '("(" "[" "{" "do" "case"))
916917
(throw 'return nil)))))))))
917918

918919
(defun haskell-indentation-test-indentations ()
@@ -968,7 +969,7 @@ the current buffer."
968969
;; and current-indent after the separator
969970
;; For example:
970971
;; l = [ 1
971-
;; , 2
972+
;; , 2
972973
;; , -- start now here
973974

974975
(defun haskell-indentation-at-separator ()

0 commit comments

Comments
 (0)