Skip to content

Commit 1d8ca30

Browse files
committed
Properly find begin of a quasiquote
1 parent 64346c2 commit 1d8ca30

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
@@ -547,7 +547,7 @@ executable found in PATH.")
547547
(when (nth 8 ppss)
548548
;; go to the beginning of a comment or string
549549
(goto-char (nth 8 ppss))
550-
(when (equal "|" (nth 3 ppss))
550+
(when (equal ?| (nth 3 ppss))
551551
;; if this is a quasi quote we need to backtrack even more
552552
;; to the opening bracket
553553
(skip-chars-backward "^[")

0 commit comments

Comments
 (0)