Skip to content

Commit da11b78

Browse files
committed
Merge pull request #1156 from gracjan/pr-begin-vbar
Properly find begin of a quasiquote
2 parents 64346c2 + 1d8ca30 commit da11b78

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)