From 1d8ca303c003349d0f31b44eee429f8a218bb18f Mon Sep 17 00:00:00 2001 From: Gracjan Polak Date: Sat, 13 Feb 2016 07:47:35 +0100 Subject: [PATCH] Properly find begin of a quasiquote --- haskell-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haskell-mode.el b/haskell-mode.el index 4abd2a286..722d26988 100644 --- a/haskell-mode.el +++ b/haskell-mode.el @@ -547,7 +547,7 @@ executable found in PATH.") (when (nth 8 ppss) ;; go to the beginning of a comment or string (goto-char (nth 8 ppss)) - (when (equal "|" (nth 3 ppss)) + (when (equal ?| (nth 3 ppss)) ;; if this is a quasi quote we need to backtrack even more ;; to the opening bracket (skip-chars-backward "^[")