Fix null namespace issue

This commit is contained in:
Tim Pope 2014-01-18 23:15:53 -05:00
parent 81ca22bfe2
commit 385d8288db

View File

@ -179,7 +179,7 @@ function! s:repl.preload(lib) dict abort
let self.requires[a:lib] = 0 let self.requires[a:lib] = 0
let clone = s:conn_try(self.connection, 'clone') let clone = s:conn_try(self.connection, 'clone')
try try
let result = clone.eval('(in-ns '.s:qsym(a:lib).') (ns '.self.user_ns().' (:require '.a:lib.reload.'))', {'ns': self.user_ns()}) let result = clone.eval('(ns '.self.user_ns().' (:require '.a:lib.reload.'))', {'ns': self.user_ns()})
finally finally
call clone.close() call clone.close()
endtry endtry