We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9050341 commit fb2d922Copy full SHA for fb2d922
haskell-collapse.el
@@ -43,7 +43,7 @@
43
"Returns `t' if line is empty or composed only of whitespace."
44
(save-excursion
45
(beginning-of-line)
46
- (= (point-at-eol)
+ (= (line-end-position)
47
(progn (skip-chars-forward "[:blank:]") (point)))))
48
49
(defun haskell-indented-block ()
@@ -92,7 +92,7 @@ indentation if dir=-1"
92
93
(goto-char (point-max))
94
(while (zerop (forward-line -1))
95
- (goto-char (point-at-bol))
+ (goto-char (line-beginning-position))
96
(when (= (current-indentation) 0) (haskell-hide-toggle)))))
97
98
(defvar haskell-collapse-mode-map
0 commit comments