diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index 5f0913470fd..96583bf9386 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el @@ -68,7 +68,7 @@ ;;; Constants -(defconst js--name-start-re (concat "[[:alpha:]_$]") +(defconst js--name-start-re "[[:alpha:]_$]" "Regexp matching the start of a JavaScript identifier, without grouping.") (defconst js--stmt-delim-chars "^;{}?:")