anchor.diff:        _ -> '_'
       end.
   
  -rename_fun_in_client_modules(Files, {Mod, Fun, Arity}, NewName, SearchPaths, TabWidth) ->
  +rename_fun_in_client_modules(Files, {Mod, Fun, Arity}, NewName, SearchPaths, TabWidth, Pid) ->
       case Files of
         [] -> [];
         [F | Fs] ->
   	    ?wrangler_io("The current file under refactoring is:\n~p\n", [F]),
   	    {ok, {AnnAST, Info}}= refac_util:parse_annotate_file(F, true, SearchPaths, TabWidth),
  -	    {AnnAST1, Changed} = rename_fun_in_client_module_1({AnnAST, Info},{Mod, Fun, Arity}, NewName),
  -		%%check_atoms(AnnAST1, Fun),
  +	    {AnnAST1, Changed} = rename_fun_in_client_module_1(F, {AnnAST, Info},{Mod, Fun, Arity}, NewName, SearchPaths, Pid),
  +	    check_atoms(F, AnnAST1, Fun, Pid),
   	    if Changed ->
  -		    [{{F, F}, AnnAST1} | rename_fun_in_client_modules(Fs, {Mod, Fun, Arity}, NewName, SearchPaths, TabWidth)];
  +		    [{{F, F}, AnnAST1} | rename_fun_in_client_modules(Fs, {Mod, Fun, Arity}, NewName, SearchPaths, TabWidth, Pid)];
   	       true ->
  -		    rename_fun_in_client_modules(Fs, {Mod, Fun, Arity}, NewName, SearchPaths, TabWidth)
  +		    rename_fun_in_client_modules(Fs, {Mod, Fun, Arity}, NewName, SearchPaths, TabWidth, Pid)
   	    end
       end.
   
  
positive.code:       _ -> false
      end.
  
  -spec(check_atoms/2::(syntaxTree(), atom()) ->ok).	     
  check_atoms(Tree, AtomName) ->
      F = fun (T) ->
  		case refac_syntax:type(T) of
  		  function -> collect_atoms(T, AtomName);
  
negative.code: 		 {refac_syntax:copy_attrs(Tree, refac_syntax:arity_qualifier(refac_syntax:atom(NewName), Arg)),false};
  	     true -> {Tree, false}
  	  end;
        tuple -> {Tree1, _M} =do_rename_fun_in_tuples(Tree, {FileName, SearchPaths, M, OldName, NewName, Arity, Pid}),
  	       {Tree1, false};
        _ -> {Tree, false}
      end.
  
  