write bookmarks file after deleting a bookmark

This commit is contained in:
Martin Grenfell 2008-07-13 14:13:58 +12:00
parent 78419f858c
commit 818a53003e

View File

@ -249,6 +249,7 @@ function! s:oBookmark.Delete() dict
if !empty(node)
call node.path.CacheDisplayString()
endif
call s:oBookmark.Write()
endfunction
" FUNCTION: oBookmark.GetNode(searchFromAbsoluteRoot) {{{3
" Gets the treenode for this bookmark
@ -2937,7 +2938,6 @@ function! s:ClearBookmarks(bookmarks)
call bookmark.Delete()
endfor
endif
call s:oBookmark.Write()
call s:RenderView()
endfunction
" FUNCTION: s:CloseChildren() {{{2