From 41bce9ae42c24f6c931f07e229c927a0124c537e Mon Sep 17 00:00:00 2001 From: EinfachToll Date: Mon, 9 Feb 2015 21:06:04 +0100 Subject: [PATCH] Remove apparently unused function --- autoload/vimwiki/diary.vim | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/autoload/vimwiki/diary.vim b/autoload/vimwiki/diary.vim index cd0f306..394edab 100644 --- a/autoload/vimwiki/diary.vim +++ b/autoload/vimwiki/diary.vim @@ -25,17 +25,6 @@ function! s:get_date_link(fmt) "{{{ return strftime(a:fmt) 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(...) "{{{ let idx = a:0 == 0 ? g:vimwiki_current_idx : a:1 return VimwikiGet('path', idx).VimwikiGet('diary_rel_path', idx)