anchor.diff:  	    HasWarningMsg = wrangler_atom_utils:has_warning_msg(Pid),
               wrangler_atom_utils:output_atom_warning_msg(Pid, not_renamed_warn_msg(OldFunNameAtom), renamed_warn_msg(OldFunNameAtom)),
   	    wrangler_atom_utils:stop_atom_process(Pid),
  -            Res=wrangler_write_file:write_refactored_files([{{FileName, FileName}, AnnAST1}],
  +	    Res=wrangler_write_file:write_refactored_files([{{FileName, FileName}, AnnAST1}],
                                                              HasWarningMsg, Editor, TabWidth, Cmd),
               case Editor of 
                   composite_emacs ->
  -                    {Res, {name_change, {{Mod, OldFunNameAtom, Arity}, {Mod, NewNameAtom, Arity}}}};
  +                    {Res, {name_change, [{{Mod, OldFunNameAtom, Arity}, {Mod, NewNameAtom, Arity}}]}};
                   _ ->
                       Res
               end
  
positive.code:     case filelib:is_file(ModOrFileName) of
  	true ->
  	    rename_fun_command_1(ModOrFileName, OldFunNameStr, Arity,
  				 NewFunNameStr, SearchPaths, 8, Editor);
  	false ->
  	    case is_atom(ModOrFileName) of
  		true ->
  		    case wrangler_misc:modname_to_filename(ModOrFileName, SearchPaths) of
  			{ok, FileName} ->
  			    rename_fun_command_1(FileName, OldFunNameStr, Arity,
  						 NewFunNameStr, SearchPaths, 8, Editor);
  			{error, Msg} ->
  			    {error, lists:flatten(Msg)}
  		    end;
  
negative.code: 
  -export([rename_fun/6, rename_fun_1/6,  rename_fun_eclipse/6, rename_fun_1_eclipse/6]).
  
  -export([rename_fun_by_name/7]).
  
  -include("../include/wrangler_internal.hrl").
  
  