Permalink
Browse files

Merge remote branch 'ktt/master' into ktt-merge

  • Loading branch information...
jimenezrick committed Sep 2, 2010
2 parents 6bdec7d + 3b15023 commit 84f949c8204a7cd154b359c1173993f1a5675fd4
Showing with 2 additions and 3 deletions.
  1. +2 −3 autoload/erlang_completion.erl
@@ -3,9 +3,8 @@
main([ModuleName]) ->
Module = erlang:list_to_atom(ModuleName),
- try Module:module_info() of
- ModuleInfo ->
- {exports, Functions} = lists:keyfind(exports, 1, ModuleInfo),
+ try Module:module_info(exports) of
+ Functions ->
lists:foreach(
fun({FunctionName, ArgumentsCount}) ->
io:format("~s/~B~n", [FunctionName, ArgumentsCount])

0 comments on commit 84f949c

Please sign in to comment.