diff --git a/contrib/julia-mode.el b/contrib/julia-mode.el index c18fd2ca641c1..d3d5a2a3882af 100644 --- a/contrib/julia-mode.el +++ b/contrib/julia-mode.el @@ -159,7 +159,8 @@ This function provides equivalent functionality, but makes no efforts to optimis (not (any "(" ")")))) ")" (* space) - "=")) + "=" + (not (any "=")))) (defconst julia-type-regex (rx symbol-start (or "immutable" "type" "abstract") (1+ space) (group (1+ (or word (syntax symbol))))))