Skip to content

Commit

Permalink
fix obsolete method in vagrant layer
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
joehillen authored and syl20bnr committed Nov 5, 2015
1 parent 6c0ba2c commit 6c3053c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers/+tools/vagrant/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))))

0 comments on commit 6c3053c

Please sign in to comment.