>>>>> "Andrea" == Andrea Crotti <[email protected]> writes:

> That was also my idea, but I'm actually getting
> "Symbol's value as variable is void: magit-svn"

> I have simply this configuration and magit is also in the path, any idea?

> (autoload 'magit-status "magit" "magit" t)
> (autoload 'magit "magit")

> ;TODO: check if this is actually really working
> (eval-after-load 'magit
>   (require 'magit-svn))

Yep, you're missing a quote here. It should be

  (eval-after-load 'magit
    '(require 'magit-svn))

otherwise, you're actually requiring 'magit-svn when you run that
expression (which is already not what you want), and in addition, since
(require 'magit-svn) returns the symbol 'magit-svn, you're also
evaluating the expression "magit-svn" once magit is loaded (actually
immediately since magit has been loaded when magit-svn was loaded...).
Since magit-svn is not a variable... you have that error message :)

Yann.

-- 
Major flaws in government arise from a fear of making radical internal changes 
even though a need is clearly seen.

  -- Darwi Odrade

Reply via email to