Le sam. 30 juil. 2016 10:28, <[email protected]> a écrit :

>
>        Putting in my .emacs file:
>
> (load-library "magit-autoloads")
> (require 'magit)
>

If you load magit-autoloads, you don't need to (require 'magit), if
you (require
'magit), you don't need the autoloads. The idea of autoloads is to prepare
Emacs to load magit when you will need it, when require load it
immediately. But this is probably not what cause your problem.


>          gives the error/warning:
>
> Cannot determine Magit’s version (error
> "/home/user/.emacs.d/elpa/magit-20160724.858/magit.el" repo static elpa)
>
>          What am I doing wrong?
>
>          How do I fix this?
>

Why don't you just use (package-initialize)? It is the way packages from
elpa/melpa are intended to be loaded. It might be the cause of your
problem.

-- 
You received this message because you are subscribed to the Google Groups 
"magit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to