From 315d457eb5a702634e9cd5aecc25037e35f4694d Mon Sep 17 00:00:00 2001 From: Ted Pavlic Date: Mon, 12 Jan 2009 10:03:13 -0500 Subject: [PATCH] Manually reverting one line of commit 7a0423e63afad4c6b0be272fca8064dafc0d6b00. "this.contexts = { "/": this }" in CompletionContext(...) was causing ":set defsearch=google" (and similar) to error with infinite recursion. Restoring to "this.contexts = { name: this }" fixes the problem, but does it break other things? Please review. --- common/content/completion.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/content/completion.js b/common/content/completion.js index 38bbdb11..27211e49 100644 --- a/common/content/completion.js +++ b/common/content/completion.js @@ -159,7 +159,8 @@ function CompletionContext(editor, name, offset) //{{{ * contain inactive contexts. For active contexts, see * {@link #contextList}. */ - this.contexts = { "/": this }; + //this.contexts = { "/": this }; + this.contexts = { name: this }; /** * @property {Object} A mapping of keys, for {@link #getKey}. Given * { key: value }, getKey(item, key) will return values as such: