-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start errors #40
Comments
Hi, Thanks for the report. Have you tried the latest master? I posted a fix for this function yesterday evening and I think it should solve your problem. |
Oh no, updated a day or so ago, didn't have time to debug until today. Will try next week at work. :-D
|
I have viewed your commit, and removed my problematic files. I want to be able to start my emacs mode even if have problems in my libpath. |
Good point. I'll have a look at it as soon as I get a chance :) |
Added some error handling... |
Thanks |
I had to patch edts with the following to get it up and running,
i.e. I had old beam files lying around in my ERL_LIBS path.
/Dan
diff --git a/lib/edts/src/edts_code.erl b/lib/edts/src/edts_code.erl
index 9809ad4..0c6d016 100644
--- a/lib/edts/src/edts_code.erl
+++ b/lib/edts/src/edts_code.erl
@@ -378,12 +378,22 @@ ensure_loaded(File) ->
M = list_to_atom(filename:basename(LoadFileName)),
Loaded =
case code:is_loaded(M) of
{Loaded, M}.
The text was updated successfully, but these errors were encountered: