Fix erroneous use of session when none requested

This commit is contained in:
Tim Pope 2014-01-12 00:33:01 -05:00
parent c2a90eb47f
commit 62486afca7

View File

@ -110,7 +110,7 @@ function! s:nrepl_eval(expr, ...) dict abort
if has_key(options, 'session') if has_key(options, 'session')
let msg.session = options.session let msg.session = options.session
endif endif
let msg = self.prepare(msg) let msg.id = fireplace#nrepl#next_id()
if has_key(options, 'file_path') if has_key(options, 'file_path')
let msg.op = 'load-file' let msg.op = 'load-file'
let msg['file-path'] = options.file_path let msg['file-path'] = options.file_path