branch: master
commit 6d4aa286dfc8eb8d5ffbdcbfb575391ef829a108
Author: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com>
Commit: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com>

    Don't unset `js2-recorded-identifiers'
---
 js2-mode.el |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/js2-mode.el b/js2-mode.el
index 54f9c19..082a5d0 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -7079,8 +7079,7 @@ it is considered declared."
                     (member name js2-additional-externs)
                     (js2-get-defining-scope scope name pos))
           (js2-report-warning "msg.undeclared.variable" name pos (- end pos)
-                              'js2-external-variable))))
-    (setq js2-recorded-identifiers nil)))
+                              'js2-external-variable))))))
 
 (defun js2-set-default-externs ()
   "Set the value of `js2-default-externs' based on the various

Reply via email to