Skip to content

Commit

Permalink
fixed a typo in otp_doc
Browse files Browse the repository at this point in the history
  deleted .cvsignore files


git-svn-id: https://distel.googlecode.com/svn/trunk@61 d5f8e727-742a-0410-b67d-dd739a6cc792
  • Loading branch information
massemanet committed May 19, 2008
1 parent efb64f1 commit 275c06a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 24 deletions.
15 changes: 0 additions & 15 deletions doc/.cvsignore

This file was deleted.

4 changes: 0 additions & 4 deletions elisp/.cvsignore

This file was deleted.

3 changes: 0 additions & 3 deletions src/.cvsignore

This file was deleted.

4 changes: 2 additions & 2 deletions src/otp_doc.erl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ ffx([]) -> no_doc.

modules(Prefix) -> completions(mods,Prefix,"").
functions(Mod,Prefix) -> completions(funcs,Mod,Prefix).
arguments(Mod,Fun) -> {ok,""}.
arguments(_Mod,_Fun) -> {ok,""}.

completions(What,M,F) ->
case get(What,M,F,"") of
Expand All @@ -87,7 +87,7 @@ init(Props) ->
Dir = proplists:get_value(root_dir, Props, code:root_dir()),
Prot = proplists:get_value(prot, Props, file),
ets:new(?MODULE,[named_table,ordered_set]),
try html_index(Prot,Dir)
try html_index(Prot,Dir),
{ok,#state{root_dir=Dir,prot=Prot}}
catch _:_ ->
{ok,no_html}
Expand Down

0 comments on commit 275c06a

Please sign in to comment.