fix obsolete method in vagrant layer

Fixes warning:

    Compiling no file at Tue Nov  3 13:42:42 2015
    ../../init.el:Warning: `vagrant-tramp-enable' is an obsolete function; use
        `vagrant-tramp-add-method' instead.
This commit is contained in:
Joe Hillenbrand 2015-11-03 13:58:03 -08:00 committed by Eivind Fonn
parent 38e9fc050a
commit 1714e4bab7

View file

@ -37,6 +37,6 @@
(defadvice vagrant-tramp-term (before spacemacs//load-vagrant activate)
"Lazy load vagrant-tramp."
(unless spacemacs--vagrant-tramp-loaded
(vagrant-tramp-enable)
(vagrant-tramp-add-method)
(setq spacemacs--vagrant-tramp-loaded t)))
(evil-leader/set-key "Vt" 'vagrant-tramp-term))))