only lookback in current scope

This fixes a bug (which also exists in R's autocompletion) whereby
lines of the form:

    lapply(function(rnorm) ( |

would produce auto-completions arguments within the 'stats::rnorm'
function.