mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
remove some debug code from NM_cmd_search()
This commit is contained in:
parent
de063624e9
commit
9e3cc68875
1 changed files with 0 additions and 3 deletions
|
@ -123,11 +123,8 @@ function! s:NM_cmd_search(words)
|
||||||
let cmd = cmd + ['--sort=oldest-first']
|
let cmd = cmd + ['--sort=oldest-first']
|
||||||
endif
|
endif
|
||||||
let data = s:NM_run(cmd + a:words)
|
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 lines = split(data, "\n")
|
||||||
let disp = copy(lines)
|
let disp = copy(lines)
|
||||||
"call map(disp, 'substitute(v:val, "^thread:\\S* ", "", "")' )
|
|
||||||
call map(disp, 's:NM_cmd_search_fmtline(v:val)')
|
call map(disp, 's:NM_cmd_search_fmtline(v:val)')
|
||||||
|
|
||||||
call <SID>NM_newBuffer('search', join(disp, "\n"))
|
call <SID>NM_newBuffer('search', join(disp, "\n"))
|
||||||
|
|
Loading…
Reference in a new issue