added 'silent' to a bunch of calls

This commit is contained in:
Brian Phillips
2009-12-02 15:26:32 -06:00
parent ceed8bf841
commit 9c56d2137a

View File

@@ -17,15 +17,15 @@ function! TodoList(args)
endif endif
call Todo('list ' . list_args) call Todo('list ' . list_args)
nnoremap <buffer> q :q<ENTER> nnoremap <buffer> q :q<ENTER>
execute 'nnoremap <buffer> o :call TodoAddInput()<ENTER>:TodoList ' . list_args . '<ENTER>' execute 'nnoremap <buffer> o :call TodoAddInput()<ENTER>:silent TodoList ' . list_args . '<ENTER>'
execute 'nnoremap <buffer> r :TodoList ' . list_args . '<ENTER>' execute 'nnoremap <buffer> r :TodoList ' . list_args . '<ENTER>'
execute 'nnoremap <buffer> d :silent call TodoDoneCurrent()<ENTER>:TodoList ' . list_args . '<ENTER>' execute 'nnoremap <buffer> d :silent call TodoDoneCurrent()<ENTER>:silent TodoList ' . list_args . '<ENTER>'
execute 'nnoremap <buffer> D :silent call TodoDeleteCurrent()<ENTER>:TodoList ' . list_args . '<ENTER>' execute 'nnoremap <buffer> D :silent call TodoDeleteCurrent()<ENTER>:silent TodoList ' . list_args . '<ENTER>'
execute 'nnoremap <buffer> p :call TodoPriorityCurrent()<ENTER>:TodoList ' . list_args . '<ENTER>' execute 'nnoremap <buffer> p :call TodoPriorityCurrent()<ENTER>:silent TodoList ' . list_args . '<ENTER>'
execute 'nnoremap <buffer> P :call TodoAppendProjectCurrent()<ENTER>:TodoList ' . list_args . '<ENTER>' execute 'nnoremap <buffer> P :call TodoAppendProjectCurrent()<ENTER>:silent TodoList ' . list_args . '<ENTER>'
execute 'nnoremap <buffer> C :call TodoAppendContextCurrent()<ENTER>:TodoList ' . list_args . '<ENTER>' execute 'nnoremap <buffer> C :call TodoAppendContextCurrent()<ENTER>:silent TodoList ' . list_args . '<ENTER>'
execute 'nnoremap <buffer> + :silent call TodoPriorityAdjust(-1)<ENTER>:TodoList ' . list_args . '<ENTER>' execute 'nnoremap <buffer> + :silent call TodoPriorityAdjust(-1)<ENTER>:silent TodoList ' . list_args . '<ENTER>'
execute 'nnoremap <buffer> - :silent call TodoPriorityAdjust(1)<ENTER>:TodoList ' . list_args . '<ENTER>' execute 'nnoremap <buffer> - :silent call TodoPriorityAdjust(1)<ENTER>:silent TodoList ' . list_args . '<ENTER>'
endfunction endfunction
function! TodoPriorityAdjust(amount) function! TodoPriorityAdjust(amount)
@@ -58,7 +58,7 @@ function! TodoAddInput()
let task .= " " . g:todo_project_context let task .= " " . g:todo_project_context
endif endif
call inputrestore() call inputrestore()
call TodoAction('add "' . task . '"') silent call TodoAction('add "' . task . '"')
endfunction endfunction
function! TodoCurrentLineId() function! TodoCurrentLineId()
let row = split(getline('.')) let row = split(getline('.'))