Bug fix: allow loclist cleanup.

This commit is contained in:
LCD 47 2013-08-13 17:48:37 +03:00
parent 148021e348
commit 929f92ddd6

View File

@ -397,7 +397,7 @@ function! SyntasticMake(options)
endif endif
lgetexpr err_lines lgetexpr err_lines
let errors = getloclist(0) let errors = copy(getloclist(0))
if has_key(a:options, 'cwd') if has_key(a:options, 'cwd')
exec 'lcd ' . fnameescape(old_cwd) exec 'lcd ' . fnameescape(old_cwd)