From bb0476caf68abff2c1d18eb9bcca38d88d413e29 Mon Sep 17 00:00:00 2001 From: ScottyB Date: Fri, 4 Sep 2015 10:07:02 +1000 Subject: [PATCH] Clarified js2-search-scope doc string --- js2-mode.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js2-mode.el b/js2-mode.el index 81dfb16cb..2d762e0b9 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)) -- 2.39.2