Remove g:VimwikiLog and the timing stuff

For profiling, there is Vim's :profile command
This commit is contained in:
EinfachToll
2015-12-07 12:29:25 +01:00
parent 2a70e1517e
commit 9be96884ba
6 changed files with 1 additions and 50 deletions

View File

@ -1367,9 +1367,6 @@ function! vimwiki#html#CustomWiki2HTML(path, wikifile, force) "{{{
endfunction " }}}
function! vimwiki#html#Wiki2HTML(path_html, wikifile) "{{{
let starttime = reltime() " start the clock
let done = 0
let wikifile = fnamemodify(a:wikifile, ":p")
@ -1496,7 +1493,7 @@ function! vimwiki#html#Wiki2HTML(path_html, wikifile) "{{{
call map(html_lines, 'substitute(v:val, "%encoding%", "'. enc .'", "g")')
let html_lines = s:html_insert_contents(html_lines, ldest) " %contents%
"" make html file.
call writefile(html_lines, path_html.htmlfile)
let done = 1
@ -1508,10 +1505,6 @@ function! vimwiki#html#Wiki2HTML(path_html, wikifile) "{{{
return
endif
" measure the elapsed time
let time1 = vimwiki#u#time(starttime) "XXX
call VimwikiLog_extend('html',[htmlfile,time1])
return path_html.htmlfile
endfunction "}}}