emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master a015ec7 33/38: Switch to lexical binding


From: Dmitry Gutov
Subject: [elpa] master a015ec7 33/38: Switch to lexical binding
Date: Wed, 28 Feb 2018 20:12:14 -0500 (EST)

branch: master
commit a015ec773194c353e9f5470f3fc343af69dd280f
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Switch to lexical binding
    
    Closes #426
---
 js2-mode.el | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/js2-mode.el b/js2-mode.el
index bd597d3..65bf7d7 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -1,4 +1,4 @@
-;;; js2-mode.el --- Improved JavaScript editing mode
+;;; js2-mode.el --- Improved JavaScript editing mode -*- lexical-binding: t -*-
 
 ;; Copyright (C) 2009, 2011-2017  Free Software Foundation, Inc.
 
@@ -2375,10 +2375,7 @@ NAME can be a Lisp symbol or string.  SYMBOL is a 
`js2-symbol'."
                (:include js2-scope)
                (:constructor make-js2-script-node (&key (type js2-SCRIPT)
                                                         (pos 
(js2-current-token-beg))
-                                                        len
-                                                        ;; FIXME: What are 
those?
-                                                        var-decls
-                                                        fun-decls)))
+                                                        len)))
   functions   ; Lisp list of nested functions
   regexps     ; Lisp list of (string . flags)
   symbols     ; alist (every symbol gets unique index)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]