From 3bc12be3004a7e498dda380630132d68d3b2ba0c Mon Sep 17 00:00:00 2001 From: Gracjan Polak Date: Wed, 25 Mar 2015 19:13:24 +0100 Subject: [PATCH] Add comma and semicolon to punctuation class. --- haskell-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haskell-mode.el b/haskell-mode.el index ff7f37399..7bca77bf8 100644 --- a/haskell-mode.el +++ b/haskell-mode.el @@ -467,7 +467,7 @@ Run M-x describe-variable haskell-mode-hook for a list of such modes.")) (modify-syntax-entry ?\\ "\\" table) (mapc (lambda (x) (modify-syntax-entry x "." table)) - "!#$%&*+./:<=>?@^|~") + "!#$%&*+./:<=>?@^|~,;") ;; Haskell symbol characters are treated as punctuation because ;; they are not able to form identifiers with word constituent 'w'