Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions haskell-indentation.el
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,10 @@ indentation points to the right, we switch going to the left."
"Makes sure that haskell-indentation-dyn-overlays contains at least N overlays."
(let* ((clen (length haskell-indentation-dyn-overlays))
(needed (- n clen)))
(dotimes (n needed haskell-indentation-dyn-overlays)
(dotimes (_n needed)
(setq haskell-indentation-dyn-overlays
(cons (make-overlay 1 1) haskell-indentation-dyn-overlays)))))
(cons (make-overlay 1 1) haskell-indentation-dyn-overlays)))
haskell-indentation-dyn-overlays))

(defun haskell-indentation-unshow-overlays ()
"Unshows all the overlays."
Expand Down