1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 07:42:26 +01:00

Manually reverting one line of commit 7a0423e63afad4c6b0be272fca8064dafc0d6b00.

"this.contexts = { "/": this }" in CompletionContext(...)
    was causing ":set defsearch=google<cr>" (and similar) to error
    with infinite recursion. Restoring to
    "this.contexts = { name: this }" fixes the problem, but does it
    break other things?

    Please review.
This commit is contained in:
Ted Pavlic
2009-01-12 10:03:13 -05:00
parent d29013a2fd
commit 315d457eb5

View File

@@ -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: