From af54ae94c2b71d577e255e37bd733a02fca94abe Mon Sep 17 00:00:00 2001 From: Christophe Troestler Date: Sat, 15 Jun 2019 22:11:55 +0200 Subject: [PATCH] Properly detect the termination of "let rec" --- tuareg.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuareg.el b/tuareg.el index 1a6e7cf3..57278855 100644 --- a/tuareg.el +++ b/tuareg.el @@ -824,7 +824,7 @@ for the interactive mode." (let-binding-g4 ; 4 groups (concat "\\_<\\(?:\\(let\\_>" binding-operator-char "?\\)" "\\(" maybe-infix-ext+attr - "\\)\\(?: +\\(" (if (tuareg-editing-ls3) let-ls3 "rec") + "\\)\\(?: +\\(" (if (tuareg-editing-ls3) let-ls3 "rec\\_>") "\\)\\)?\\|\\(and" binding-operator-char "?\\)\\)")) ;; group for possible class param (gclass-gparams