# HG changeset patch # User Ludovic Chabant # Date 1430887740 25200 # Node ID 4cda41f830c375a72c966a2691dc02449fc3cbca # Parent f00ae5797e48ec1456082ecdb0bdd9104683589f Remove unused code after previous commit. diff -r f00ae5797e48 -r 4cda41f830c3 autoload/gutentags.vim --- a/autoload/gutentags.vim Tue May 05 21:47:34 2015 -0700 +++ b/autoload/gutentags.vim Tue May 05 21:49:00 2015 -0700 @@ -208,18 +208,10 @@ " queue_mode: " 0: if an update is already in progress, report it and abort. " 1: if an update is already in progress, queue another one. -" -" An additional argument specifies where to write the tags file. If nothing -" is specified, it will go to the gutentags-defined file. -function! s:update_tags(module, write_mode, queue_mode, ...) abort +function! s:update_tags(module, write_mode, queue_mode) abort " Figure out where to save. - if a:0 == 1 - let l:tags_file = a:1 - let l:proj_dir = fnamemodify(a:1, ':h') - else - let l:tags_file = b:gutentags_files[a:module] - let l:proj_dir = b:gutentags_root - endif + let l:tags_file = b:gutentags_files[a:module] + let l:proj_dir = b:gutentags_root " Check that there's not already an update in progress. let l:lock_file = l:tags_file . '.lock'