branch: master
commit bb0476caf68abff2c1d18eb9bcca38d88d413e29
Author: ScottyB <scott.n.barn...@gmail.com>
Commit: ScottyB <scott.n.barn...@gmail.com>

    Clarified js2-search-scope doc string
---
 js2-mode.el |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/js2-mode.el b/js2-mode.el
index 81dfb16..2d762e0 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -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))

Reply via email to