diff --git a/misc/emacs/go-mode.el b/misc/emacs/go-mode.el index 349b372ecfe..1f35f7c0b43 100644 --- a/misc/emacs/go-mode.el +++ b/misc/emacs/go-mode.el @@ -249,7 +249,7 @@ For mode=set, all covered lines will have this weight." (if go-fontify-function-calls `((,(concat "\\(" go-identifier-regexp "\\)[[:space:]]*(") 1 font-lock-function-name-face) ;; function call/method name - (,(concat "(\\(" go-identifier-regexp "\\))[[:space:]]*(") 1 font-lock-function-name-face)) ;; bracketed function call + (,(concat "[^[:word:][:multibyte:]](\\(" go-identifier-regexp "\\))[[:space:]]*(") 1 font-lock-function-name-face)) ;; bracketed function call `((,go-func-meth-regexp 1 font-lock-function-name-face))) ;; method name `(