]> code.delx.au - gnu-emacs-elpa/commitdiff
Clarified js2-search-scope doc string
authorScottyB <scott.n.barnett@gmail.com>
Fri, 4 Sep 2015 00:07:02 +0000 (10:07 +1000)
committerScottyB <scott.n.barnett@gmail.com>
Mon, 7 Sep 2015 07:36:29 +0000 (17:36 +1000)
js2-mode.el

index 81dfb16cbf1dca4e362a72d30a8743213495d647..2d762e0b91e1d5573c16ffd8f2f246c695f0d7f5 100644 (file)
@@ -12381,7 +12381,9 @@ i.e. ('name' 'value') = {name : { value: 3}}"
     (unless names node)))
 
 (defun js2-search-scope (node names)
-  "Searches SCOPE for jump location in NAMES."
+  "Searches NODE scope for jump location matching NAMES.
+NAMES is a list of property values to search for. For functions
+and variables NAMES will contain one element."
   (let (node-init
         (val (first names)))
     (setq node-init (js2-get-symbol-declaration node val))