Remove apparently unused function

This commit is contained in:
EinfachToll 2015-02-09 21:06:04 +01:00
parent e4de62b7d5
commit 41bce9ae42

View File

@ -25,17 +25,6 @@ function! s:get_date_link(fmt) "{{{
return strftime(a:fmt) return strftime(a:fmt)
endfunction "}}} endfunction "}}}
function! s:link_exists(lines, link) "{{{
let link_exists = 0
for line in a:lines
if line =~# escape(a:link, '[]\')
let link_exists = 1
break
endif
endfor
return link_exists
endfunction "}}}
function! s:diary_path(...) "{{{ function! s:diary_path(...) "{{{
let idx = a:0 == 0 ? g:vimwiki_current_idx : a:1 let idx = a:0 == 0 ? g:vimwiki_current_idx : a:1
return VimwikiGet('path', idx).VimwikiGet('diary_rel_path', idx) return VimwikiGet('path', idx).VimwikiGet('diary_rel_path', idx)