Skip to content

Commit 7aeba53

Browse files
committed
Use eolp
1 parent fac101f commit 7aeba53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haskell-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ comment. May return a qualified name."
642642
;; First, skip whitespace if we're on it, moving point to last
643643
;; identifier char. That way, if we're at "map ", we'll see the word
644644
;; "map".
645-
(when (and (looking-at (rx eol))
645+
(when (and (eolp)
646646
(not (bolp)))
647647
(backward-char))
648648
(when (and (not (eobp))

0 commit comments

Comments
 (0)