branch: master
commit 381545bb64496fa1b47e92089585245cbf4da800
Author: felipe <[email protected]>
Commit: felipe <[email protected]>

    Make js2-additional-externs safe as a local variable
---
 js2-mode.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/js2-mode.el b/js2-mode.el
index 085a18d..a1da18b 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -853,6 +853,9 @@ Your post-parse callback may of course also use the simpler 
and
 faster (but perhaps less robust) approach of simply scanning the
 buffer text for your imports, using regular expressions.")
 
+(put 'js2-additional-externs 'safe-local-variable
+     (lambda (val) (cl-every #'stringp val)))
+
 ;; SKIP:  decompiler
 ;; SKIP:  encoded-source
 

Reply via email to