Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

undid a re-implementation of lists:member/2

  • Loading branch information...
commit ba9e375964d0fe612588bf21ac5937721d29b86b 1 parent 1c77407
vagrant authored
Showing with 3 additions and 8 deletions.
  1. +3 −8 src/distel.erl
View
11 src/distel.erl
@@ -549,16 +549,11 @@ int_i(Mod, Exps, Abst, Srcfile, Beamfile) ->
true = erts_debug:breakpoint({Mod,'_','_'}, true) > 0.
is_interpreted(Mod) ->
- [Mod] =:= [I || I <- int:interpreted(), I =:= Mod].
+ lists:member(Mod,int:interpreted()).
int_interpreted() ->
- [Mod || {Mod,Beamfile} <- code:all_loaded(),
- is_list(Beamfile),
- is_interpreted(Mod)].
-%% Attach the client process Emacs to the interpreted process Pid.
-%%
-%% spawn_link's a new process to proxy messages between Emacs and
-%% Pid's meta-process.
+ int:interpreted().
+
debug_attach(Emacs, Pid) ->
spawn_link(?MODULE, attach_init, [Emacs, Pid]).
Please sign in to comment.
Something went wrong with that request. Please try again.