]> code.delx.au - gnu-emacs-elpa/commitdiff
Merge pull request #333 from daniellandau/master
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 4 May 2016 11:45:11 +0000 (14:45 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 4 May 2016 11:45:11 +0000 (14:45 +0300)
Change warning message to not conflict with spec

js2-mode.el

index b2efce007d3d0f5590596e28a470874a26d07b12..9515e2703ce33fd56a81f5d6a674ff52756a02f3 100644 (file)
@@ -1456,7 +1456,7 @@ the correct number of ARGS must be provided."
          "Compilation produced %s syntax errors.")
 
 (js2-msg "msg.var.redecl"
-         "TypeError: redeclaration of var %s.")
+         "Redeclaration of var %s.")
 
 (js2-msg "msg.const.redecl"
          "TypeError: redeclaration of const %s.")