From: Bart Trojanowski Date: Sun, 22 Nov 2009 02:33:41 +0000 (-0500) Subject: remove some debug code from NM_cmd_search() X-Git-Tag: 0.1~313^2~66 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9e3cc68875602c72109c2e27ba07a193865560fd;p=notmuch.git remove some debug code from NM_cmd_search() --- diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 756472c4..dfa4c432 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -123,11 +123,8 @@ function! s:NM_cmd_search(words) let cmd = cmd + ['--sort=oldest-first'] endif let data = s:NM_run(cmd + a:words) - "let data = substitute(data, '27/27', '25/27', '') - "let data = substitute(data, '\[4/4\]', '[0/4]', '') let lines = split(data, "\n") let disp = copy(lines) - "call map(disp, 'substitute(v:val, "^thread:\\S* ", "", "")' ) call map(disp, 's:NM_cmd_search_fmtline(v:val)') call NM_newBuffer('search', join(disp, "\n"))